lkml.org 
[lkml]   [1998]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mmap() versus read()
From
Date
Linus Torvalds <torvalds@transmeta.com> writes:

> clone() really _is_ very lightweight. I think that some of the confusion
> comes from the timings of "pthread_create()" which is much less
> lightweight partly due to memory allocation issues, partly just because
> the Linux clone-based pthreads library hasn't had all that much time to be
> optimized etc.

That's very true. The current implemenation is mainly written to be
correct. Not much time so far was spend on hard optimization.
Xavier's skills to write good code make it reasonable fast but there
is certainly much room to improve. Optimizations plus possible
restructuring will take place once we have the full functionality.
At least this is my plan.

-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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