From: Robert K. <ke...@ca...> - 2001-08-08 21:23:14
|
On Wed, Aug 08, 2001 at 01:56:56PM -0700, Phil Austin wrote: [snip pointers to info] > bottom line: you really need a vm implementation that supports > madvise() to get the maximum benefit from mmap. (Linux 2.4 > might have madvise, I haven't tried it out yet -- 2.2 didn't). FWIW, there appears to be a madvise(2) system call in Linux 2.4.7 (in mm/filemap.c for those of you with kernel source trees lying around), but I can't find it in the headers anywhere. Sigh. I don't know if madvise is supposed to be internal or not, though. -- Robert Kern ke...@ca... "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter |