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 onnative


On Wed, 23 Aug 2000, Andi Kleen wrote:

> On Wed, Aug 23, 2000 at 09:17:10PM +0100, Alan Cox wrote:
> > The kernel has fast lightweight threading. How you map user space threads and
> > co-routines onto this is really between the app and libs. In fact I'd argue
> > strongly that an app _must_ be able to provide its own strategy routine or
> > some kind of hints to the lib
>
> I would not call 8K/16K overhead "lightweight" treading.

Oh, and pray tell how much you expect a kernel thread to take?

The memory overhead is negligible. An app that thinks that 16kB/thread is
too much, should not be using kernel threads in the first place. You could
argue that it probably shouldn't be using threads at _all_.

Linus

-
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:0.169 / U:1.264 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site