Re: MMAP vs READ/WRITE

Rik van Riel (riel@conectiva.com.br)
Wed, 13 Mar 2002 10:58:20 -0300 (BRT)


On Wed, 13 Mar 2002, Peter Zaitsev wrote:

> So I would say mmap is not really optimized nowdays in Linux and so
> read() may be wining in cases it should not. May be read-ahead is
> used with read and is not used with mmap.

Both guesses are correct.

Rik

-- 
<insert bitkeeper endorsement here>

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/