Re: missing madvise functionality

Jeremy Fitzhardinge
2007-04-03T21:23:10Z

Eric Dumazet wrote:
> mmap()/brk() must give fresh NULL pages, but maybe
> madvise(MADV_DONTNEED) can relax this requirement (if the pages were
> reclaimed, then a page fault could bring a new page with random content)

Only if those pages were originally from that process. Otherwise you've
got a bit of an information leak there.

J