Re: [patch] SMP alternatives
From: Linus Torvalds
Date: Wed Nov 23 2005 - 19:00:05 EST
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
-
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/