2.5.40+ futex broken with COW
The COW changes break PROCESS_SHARED futexes inmmap( MAP_SHARED ).
I think that COW is unconditionally used on fork(). But you need to check for MAP_SHARED, eh?
If wanted I can provide a testcase (that runs fine on 2.4.19+futex patch + NGPT and on Irix)
Quoted 9 lines · Peter Wächtler
The COW changes break
PROCESS_SHAREDfutexes inmmap( MAP_SHARED ).I think that COW is unconditionally used on
fork(). But you need to check forMAP_SHARED, eh?If wanted I can provide a testcase (that runs fine on 2.4.19+futex patch + NGPT and on Irix)
Argh, forget it. Made a silly mistake too painful to mention :)