Stephan Wiesand
2017-10-20 12:27:20 UTC
[taking this thread to -devel]
We should probably adapt to this, and I guess it shouldn't be too hard, but is this change likely to be the reason for more frequent getcwd() problems?
I ran configure against the EL7.3 and EL7.4 GA kernels (3.10.0-514.el7 and 3.10.0-696.el7) and compared the results.
7.3 7.4
locks_lock_file_wait no yes
inode_lock no yes
exported tasklist_lock yes no
It turns out the EL7.4 kernel turns tasklist_lock from an rwlock_t into a qrwlock_t and all read_{,un}lock() calls into qread_{,un}lock() ones. And no, it's not what mainline kernels do, including 4.14-rc5.7.3 7.4
locks_lock_file_wait no yes
inode_lock no yes
exported tasklist_lock yes no
We should probably adapt to this, and I guess it shouldn't be too hard, but is this change likely to be the reason for more frequent getcwd() problems?
--
Stephan Wiesand
DESY -DV-
Platanenallee 6
15738 Zeuthen, Germany
Stephan Wiesand
DESY -DV-
Platanenallee 6
15738 Zeuthen, Germany