Date: Tue, 13 May 2008 20:01:27 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200805132001.m4DK1RsU093686@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805132001.m4DK1RsU093686>