Linux-kernel mailing list archive 1998-10,: Re: mmap() versus read()

# Re: mmap() versus read()

Ulrich Drepper (drepper@cygnus.com)
10 Mar 1998 21:25:15 -0800

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: : "Re: SPAM on linux-kernel (was Re: Forwarded mail....)"
- Previous message: : "Re: mmap() versus read()"
- In reply to: Linus Torvalds: "Re: mmap() versus read()"

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

- Next message: : "Re: SPAM on linux-kernel (was Re: Forwarded mail....)"
- Previous message: : "Re: mmap() versus read()"
- In reply to: Linus Torvalds: "Re: mmap() versus read()"