cvs commit: src/sys/amd64/linux32 linux32_dummy.c syscalls.master
src/sys/i386/linux linux_dummy.c syscalls.master
src/sys/compat/linux linux_emul.c linux_emul.h linux_futex.c
linux_futex.h linux_misc.c
Roman Divacky
rdivacky at FreeBSD.org
Tue May 13 20:01:28 UTC 2008
rdivacky 2008-05-13 20:01:27 UTC
FreeBSD src repository
Modified files:
sys/amd64/linux32 syscalls.master linux32_dummy.c
sys/i386/linux syscalls.master linux_dummy.c
sys/compat/linux linux_emul.c linux_emul.h linux_futex.c
linux_futex.h linux_misc.c
Log:
Implement robust futexes. Most of the code is modelled after
what Linux does. This is because robust futexes are mostly
userspace thing which we cannot alter. Two syscalls maintain
pointer to userspace list and when process exits a routine
walks this list waking up processes sleeping on futexes
from that list.
Reviewed by: kib (mentor)
MFC after: 1 month
Revision Changes Path
1.13 +0 -2 src/sys/amd64/linux32/linux32_dummy.c
1.34 +4 -2 src/sys/amd64/linux32/syscalls.master
1.21 +6 -3 src/sys/compat/linux/linux_emul.c
1.8 +4 -0 src/sys/compat/linux/linux_emul.h
1.13 +161 -0 src/sys/compat/linux/linux_futex.c
1.4 +18 -0 src/sys/compat/linux/linux_futex.h
1.221 +3 -4 src/sys/compat/linux/linux_misc.c
1.50 +0 -2 src/sys/i386/linux/linux_dummy.c
1.93 +4 -2 src/sys/i386/linux/syscalls.master
More information about the cvs-src
mailing list