Re: SCO: "thread creation is about a thousand times faster than on native Linux"

From: Andi Kleen (ak@suse.de)
Date: Wed Aug 23 2000 - 14:22:02 EST


On Wed, Aug 23, 2000 at 11:59:42AM -0700, Linus Torvalds wrote:
> In article <20000823193814.A24509@gruyere.muc.suse.de>,
> Andi Kleen <ak@suse.de> wrote:
> >
> >To solve that it would be very nice to have Mach like continuations in
> >Linux (multiple kernel threads sharing a kernel stack)
>
> Oh, Gods, no.
>
> Continuations are evil. And they don't scale in SMP. Don't even think
> about them.

So you would prefer a two level threads library ?

[you probably agree that it is silly to have java programs with 20 threads
each eating a kernel stack -- and there are not only java programs which
use that wasteful programming style. java programs at least have the
excuse of a stupid API that forces them to do such stuff]

continuations are just a lot of what the two level library would do in user
space put more efficiently into kernel space (like multiplexing poll)

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 21:00:09 EST