Date: Tue, 5 May 2009 14:53:58 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/linux32 linux.h linux32_dummy.c syscalls.master src/sys/compat/linux linux_emul.c linux_emul.h linux_futex.c linux_futex.h linux_misc.c src/sys/i386/linux linux.h linux_dummy.c syscalls.master Message-ID: <200905051455.n45EtHYl064991@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dchagin 2009-05-05 14:53:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/linux32 linux.h linux32_dummy.c syscalls.master sys/compat/linux linux_emul.c linux_emul.h linux_futex.c linux_futex.h linux_misc.c sys/i386/linux linux.h linux_dummy.c syscalls.master Log: SVN rev 191820 on 2009-05-05 14:53:58Z by dchagin Merge from HEAD to stable/7: r178976 (rdivacky): 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. r183871: Make robust futexes work on linux32/amd64. Use PTRIN to read user-mode pointers. Change types used in the structures definitions to properly-sized architecture-specific types. r185002: In the robust futexes list head, futex_offset shall be signed, and glibc actually supplies negative offsets. Change l_ulong to l_long. Approved by: kib (mentor) Revision Changes Path 1.16.2.2 +11 -0 src/sys/amd64/linux32/linux.h 1.9.2.2 +0 -2 src/sys/amd64/linux32/linux32_dummy.c 1.30.2.3 +4 -2 src/sys/amd64/linux32/syscalls.master 1.20.2.2 +6 -3 src/sys/compat/linux/linux_emul.c 1.7.2.1 +4 -0 src/sys/compat/linux/linux_emul.h 1.10.2.3 +161 -0 src/sys/compat/linux/linux_futex.c 1.2.2.2 +6 -0 src/sys/compat/linux/linux_futex.h 1.214.2.4 +3 -4 src/sys/compat/linux/linux_misc.c 1.78.2.2 +11 -0 src/sys/i386/linux/linux.h 1.46.2.2 +0 -2 src/sys/i386/linux/linux_dummy.c 1.89.2.3 +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?200905051455.n45EtHYl064991>