Re: mmap() better than read() fro streaming, Was: Re: Streaming disk

Andrea Arcangeli (andrea@suse.de)
Wed, 25 Aug 1999 17:39:31 +0200 (CEST)


On Wed, 25 Aug 1999, Benno Senoner wrote:

>will mlock() automatically cause all pages to be read from the file ?

Yes.

>But since I already do an mlockall() at the beginnig, there is no need of
>additional mlock()s

Yes (if you use MCL_FUTURE).

Andrea

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