lkml.org 
[lkml]   [2000]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCO: "thread creation is about a thousand times faster than on native Linux"
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:1.636 / U:7.908 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site