]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 218970,219240:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Mar 2011 17:15:10 +0000 (17:15 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Mar 2011 17:15:10 +0000 (17:15 +0000)
commiteb54376790b6bf7d9142b51595796b2d5573e187
tree9b227e530e766fc66d2c98ee00f7a566cd316f09
parent22555052452f5ba4c08624995146aabc228380a8
MFC 218970,219240:
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
AUTO_SHARED umtx_key.  Private futexes use THREAD_SHARED umtx_key objects.

git-svn-id: svn://svn.freebsd.org/base/stable/8@219381 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/compat/linux/linux_futex.c
sys/sys/umtx.h