From owner-cvs-src-old@FreeBSD.ORG Tue May 5 14:55:17 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1998106566B for ; Tue, 5 May 2009 14:55:17 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 807168FC1B for ; Tue, 5 May 2009 14:55:17 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n45EtHLq064992 for ; Tue, 5 May 2009 14:55:17 GMT (envelope-from dchagin@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n45EtHYl064991 for cvs-src-old@freebsd.org; Tue, 5 May 2009 14:55:17 GMT (envelope-from dchagin@repoman.freebsd.org) Message-Id: <200905051455.n45EtHYl064991@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dchagin@repoman.freebsd.org using -f From: Dmitry Chagin Date: Tue, 5 May 2009 14:53:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 14:55:17 -0000 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