From owner-cvs-src-old@FreeBSD.ORG Wed Feb 23 13:23:47 2011 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 B05AB1065697 for ; Wed, 23 Feb 2011 13:23:47 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAE98FC16 for ; Wed, 23 Feb 2011 13:23:47 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p1NDNlEM043983 for ; Wed, 23 Feb 2011 13:23:47 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p1NDNl6d043982 for cvs-src-old@freebsd.org; Wed, 23 Feb 2011 13:23:47 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201102231323.p1NDNl6d043982@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 23 Feb 2011 13:23:28 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_futex.c src/sys/sys umtx.h 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: Wed, 23 Feb 2011 13:23:47 -0000 jhb 2011-02-23 13:23:28 UTC FreeBSD src repository Modified files: sys/compat/linux linux_futex.c sys/sys umtx.h Log: SVN rev 218970 on 2011-02-23 13:23:28Z by jhb 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 PROCESS_SHARED umtx_key. Private futexes use THREAD_SHARED umtx_key objects. In conjunction with: dchagin Reviewed by: kib MFC after: 1 week Revision Changes Path 1.38 +32 -17 src/sys/compat/linux/linux_futex.c 1.37 +1 -0 src/sys/sys/umtx.h