Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750960AbWHIB6b (ORCPT ); Tue, 8 Aug 2006 21:58:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751216AbWHIB6b (ORCPT ); Tue, 8 Aug 2006 21:58:31 -0400 Received: from smtp103.mail.mud.yahoo.com ([209.191.85.213]:43104 "HELO smtp103.mail.mud.yahoo.com") by vger.kernel.org with SMTP id S1750960AbWHIB6b (ORCPT ); Tue, 8 Aug 2006 21:58:31 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=R0ruYKqqMarLpYlpSeGRpqA/nvr1NtTiDXMgw6MAsZz2jnq6L1EW+Mf5bCnGSKf7B1i8GBFQ3LP2BcWJan0sTHS9cd81rXRQDyexXQsveb5f31GCyLg9V8UynluPumlwZMgfg5lRK5Bw+hB7/yqObe52twgbMTbAt+hqYG/s/nc= ; Message-ID: <44D94142.3050703@yahoo.com.au> Date: Wed, 09 Aug 2006 11:58:26 +1000 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060216 Debian/1.7.12-1.1ubuntu2 X-Accept-Language: en MIME-Version: 1.0 To: Ulrich Drepper CC: Eric Dumazet , Andi Kleen , Ravikiran G Thirumalai , "Shai Fultheim (Shai@scalex86.org)" , pravin b shelar , linux-kernel@vger.kernel.org Subject: Re: [RFC] NUMA futex hashing References: <20060808070708.GA3931@localhost.localdomain> <44D8A9BE.3050607@yahoo.com.au> <200608081808.34708.dada1@cosmosbay.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 869 Lines: 24 Ulrich Drepper wrote: >> Of course we would need a new syscall, and to change glibc to be able to >> actually use this new private_futex syscall. > > > No, why? The kernel already does recognize private mutexes. It just > checks whether the pages used to store it are private or mapped. This > requires some interaction with the memory subsystem but as long as no > crashes happen the data can change underneath. It's the program's > fault if it does. Because that requires taking mmap_sem. Avoiding that is the whole purpose, isn't it? -- Send instant messages to your online friends http://au.messenger.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/