Re: missing madvise functionality
From: Ulrich Drepper
Date: Tue Apr 03 2007 - 13:10:43 EST
Rik van Riel wrote:
> I already started looking into implementing this.
>
> Basically:
> [...]
Sounds good. Except:
> 1) on MADV_DONTNEED, mark pages clean, not accessed and move them
> to some "dontneed" LRU list.
LRU is likely the wrong answer. The longer a page has not been reused
the more likely it won't be. So, the dontneed-list should be a simple
FIFO.
--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
Attachment:
signature.asc
Description: OpenPGP digital signature