[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46128A77.4080008@redhat.com>
Date: Tue, 03 Apr 2007 10:10:15 -0700
From: Ulrich Drepper <drepper@...hat.com>
To: Rik van Riel <riel@...hat.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Jakub Jelinek <jakub@...hat.com>
Subject: Re: 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 ❖
Download attachment "signature.asc" of type "application/pgp-signature" (252 bytes)
Powered by blists - more mailing lists