[lkml]   [2000]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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 <>,
> Andi Kleen <> 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)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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