Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932232AbVK1XMw (ORCPT ); Mon, 28 Nov 2005 18:12:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932277AbVK1XMv (ORCPT ); Mon, 28 Nov 2005 18:12:51 -0500 Received: from mx1.suse.de ([195.135.220.2]:51376 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S932244AbVK1XMu (ORCPT ); Mon, 28 Nov 2005 18:12:50 -0500 Date: Tue, 29 Nov 2005 00:12:39 +0100 From: Andi Kleen To: Zachary Amsden Cc: "Jeff V. Merkey" , Bill Davidsen , Linus Torvalds , Alan Cox , "H. Peter Anvin" , Andi Kleen , Gerd Knorr , Dave Jones , 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: <20051128231239.GC7209@brahms.suse.de> References: <1132782245.13095.4.camel@localhost.localdomain> <20051123214835.GA24044@nevyn.them.org> <20051123222056.GA25078@nevyn.them.org> <438B600C.1050604@tmr.com> <438B827A.2090609@wolfmountaingroup.com> <438B8BF8.4020604@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <438B8BF8.4020604@vmware.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 25 > I'm not sure a hardware solution is even the right thing - consider a > shared memory database process with a private heap. You really want > locks on the shared memory, and you really don't on the heap. > > You need a way to type the lock semantics by memory region, and a > working hardware solution can not perform as well as a careful software > solution. As was pointed out earlier, you can't use memory type The problem is that nobody will change all the software. Your careful software solution will only benefit a small minority of performance conscious and well tuned programs. The hardware solution might not be perfect, but has a good chance to apply to 90% of the "don't care" programs and help them all a bit. And every bit counts in the quest for more single thread performance. And if someone wants to fine tune their programs they can still change the software as much as they want. -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/