2.5.40+ futex broken with COW

From: Peter Wächtler (pwaechtler@mac.com)
Date: Tue Oct 08 2002 - 17:13:46 EST


The COW changes break PROCESS_SHARED futexes in
mmap( 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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:28 EST