Re: Buffer cache hints

Jonathan Wexler (
Fri, 6 Sep 1996 19:44:54 +0300 (IDT)

On Fri, 6 Sep 1996, Richard Gooch wrote:

> Hi, all. I have a process which reads a large file (nearly half the
> size of RAM) and swap-copies it into a malloced array of the same
> size. This results in a lot of disc head movement as pages are read

Why not use mmap()? (if the data is in the same form as you want it in