Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932590AbVKWWWV (ORCPT ); Wed, 23 Nov 2005 17:22:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932589AbVKWWWU (ORCPT ); Wed, 23 Nov 2005 17:22:20 -0500 Received: from smtp.osdl.org ([65.172.181.4]:35231 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S932586AbVKWWWS (ORCPT ); Wed, 23 Nov 2005 17:22:18 -0500 Date: Wed, 23 Nov 2005 14:21:53 -0800 (PST) From: Linus Torvalds To: "H. Peter Anvin" cc: Daniel Jacobowitz , Alan Cox , Andi Kleen , Gerd Knorr , Dave Jones , Zachary Amsden , Pavel Machek , Andrew Morton , Linux Kernel Mailing List , Zwane Mwaikambo , Pratap Subrahmanyam , Christopher Li , "Eric W. Biederman" , Ingo Molnar Subject: Re: [patch] SMP alternatives In-Reply-To: <4384E880.4060305@zytor.com> Message-ID: References: <1132764133.7268.51.camel@localhost.localdomain> <20051123163906.GF20775@brahms.suse.de> <1132766489.7268.71.camel@localhost.localdomain> <4384AECC.1030403@zytor.com> <1132782245.13095.4.camel@localhost.localdomain> <20051123214835.GA24044@nevyn.them.org> <4384E4F7.9060806@zytor.com> <20051123220324.GA24517@nevyn.them.org> <4384E880.4060305@zytor.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 754 Lines: 20 On Wed, 23 Nov 2005, H. Peter Anvin wrote: > > Yes. Any shared mmaps may require working lock. Not "any". Only writable shared mmap. Which is actually the rare case. Even then, we might want to have such processes have a way to say "I don't do futexes in this mmap" or similar. Quite often, writable shared mmaps aren't interested in locked cycles - they are there to just write things to disk, and all the serialization is done in the kernel when the user does a "munmap()" or a "msync()". Linus - 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/