Date: Wed, 23 Feb 2011 13:23:28 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/linux linux_futex.c src/sys/sys umtx.h Message-ID: <201102231323.p1NDNl6d043982@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-02-23 13:23:28 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_futex.c
sys/sys umtx.h
Log:
SVN rev 218970 on 2011-02-23 13:23:28Z by jhb
Use umtx_key objects to uniquely identify futexes. Private futexes in
different processes that happen to use the same user address in the
separate processes will now be treated as distinct futexes rather than the
same futex. We can now honor shared futexes properly by mapping them to a
PROCESS_SHARED umtx_key. Private futexes use THREAD_SHARED umtx_key
objects.
In conjunction with: dchagin
Reviewed by: kib
MFC after: 1 week
Revision Changes Path
1.38 +32 -17 src/sys/compat/linux/linux_futex.c
1.37 +1 -0 src/sys/sys/umtx.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102231323.p1NDNl6d043982>
