Re: [patch 6/12] hold atomic kmaps across generic_file_read

Rik van Riel
2002-08-10T14:12:40Z

On Sat, 10 Aug 2002, Linus Torvalds wrote:

> and having it magically populate the VM directly with the whole file
> mapping, with _one_ failed page fault. And the above is actually a fairly
> common thing. See how many people have tried to optimize using mmap vs
> read, and what they _all_ really wanted was this "populate the pages in
> one go" thing.

If this is worth it, chances are prefaulting at mmap() time
could also be worth trying ... hmmm ;)

Rik
--
Bravely reimplemented by the knights who say "NIH".

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