Re: [patch] SMP alternatives
From: Daniel Jacobowitz
Date: Wed Nov 23 2005 - 21:07:05 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/