From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751231AbVKXCHK (ORCPT ); Wed, 23 Nov 2005 21:07:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751334AbVKXCHK (ORCPT ); Wed, 23 Nov 2005 21:07:10 -0500 Received: from nevyn.them.org ([66.93.172.17]:65259 "EHLO nevyn.them.org") by vger.kernel.org with ESMTP id S1751231AbVKXCG6 (ORCPT ); Wed, 23 Nov 2005 21:06:58 -0500 Date: Wed, 23 Nov 2005 21:06:46 -0500 From: Daniel Jacobowitz To: Linus Torvalds Cc: Alan Cox , "H. Peter Anvin" , 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 Message-ID: <20051124020646.GA30379@nevyn.them.org> Mail-Followup-To: Linus Torvalds , Alan Cox , "H. Peter Anvin" , 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 References: <4384AECC.1030403@zytor.com> <1132782245.13095.4.camel@localhost.localdomain> <20051123214835.GA24044@nevyn.them.org> <20051123222056.GA25078@nevyn.them.org> <20051123234256.GA27337@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 23, 2005 at 03:59:52PM -0800, Linus Torvalds wrote: > On Wed, 23 Nov 2005, Daniel Jacobowitz wrote: > > > > Those are the wrong ways of doing this in userspace. There are right > > ways. For instance, tag the binary at link time "single-threaded". > > And I mentioned exactly this. It's my third alternative. > > And it doesn't work well, exactly because developers don't know if the > libraries they use are always single-threaded etc. More importantly, it > just doesn't happen that much. People do "make ; make install". Hopefully > from pretty standard sources. Having to tweak things so that a project > compiles with a magic flag on a particular distribution is simply not done > very much. But distributors (Debian included) do this all the time :-) I'd even volunteer to get it done and pushed out and in use, if I was as convinced of the benefits. For most applications, though, I'm still sceptical. -- Daniel Jacobowitz CodeSourcery, LLC