lkml.org 
[lkml]   [2007]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: missing madvise functionality
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 ❖

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-04-03 19:13    [W:0.321 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site