Messages in this thread |  | | Date | Wed, 23 Aug 2000 13:46:49 -0700 (PDT) | | From | Linus Torvalds <> | | Subject | Re: 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/
|  |