Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030331AbVKWWXy (ORCPT ); Wed, 23 Nov 2005 17:23:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030334AbVKWWXs (ORCPT ); Wed, 23 Nov 2005 17:23:48 -0500 Received: from ns1.suse.de ([195.135.220.2]:12701 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1030331AbVKWWXI (ORCPT ); Wed, 23 Nov 2005 17:23:08 -0500 Date: Wed, 23 Nov 2005 23:23:06 +0100 From: Andi Kleen To: Jeff Garzik Cc: Andi Kleen , Alan Cox , Linus Torvalds , "H. Peter Anvin" , 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 Message-ID: <20051123222306.GW20775@brahms.suse.de> 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> <20051123211353.GR20775@brahms.suse.de> <4384E333.8030901@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4384E333.8030901@pobox.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 511 Lines: 14 On Wed, Nov 23, 2005 at 04:46:27PM -0500, Jeff Garzik wrote: > Andi Kleen wrote: > >The idea was to turn LOCK on only if the process has any > >shared writable mapping and num_online_cpus() > 0. > > Yep. Though I presume you mean "> 1". Yeah, > 1 of course. -Andi - 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/