From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932402AbVKXAA3 (ORCPT ); Wed, 23 Nov 2005 19:00:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932592AbVKXAA3 (ORCPT ); Wed, 23 Nov 2005 19:00:29 -0500 Received: from smtp.osdl.org ([65.172.181.4]:49333 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S932402AbVKXAAZ (ORCPT ); Wed, 23 Nov 2005 19:00:25 -0500 Date: Wed, 23 Nov 2005 15:59:52 -0800 (PST) From: Linus Torvalds To: Daniel Jacobowitz 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 In-Reply-To: <20051123234256.GA27337@nevyn.them.org> Message-ID: References: <1132766489.7268.71.camel@localhost.localdomain> <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 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. Linus