Re: [RFC PATCH 0/10] split anon and file LRUs

Christoph Lameter
2007-11-07T02:11:39Z

On Sat, 3 Nov 2007, Rik van Riel wrote:

> The current version only has the infrastructure. Large changes to
> the page replacement policy will follow later.

Hmmmm.. I'd rather see where we are going. One other way of addressing
many of these issues is to allow large page sizes on the LRU which will
reduce the number of entities that have to be managed. Both approaches
actually would work in tandem.

> TODO:
> - have any mlocked and ramfs pages live off of the LRU list,
> so we do not need to scan these pages

I think that is the most urgent issue at hand. At least for us.

> - switch to SEQ replacement for the anon LRU lists, so the
> worst case number of pages to scan is reduced greatly.

No idea what that is?

> - figure out if the file LRU lists need page replacement
> changes to help with worst case scenarios

We do not have an accepted standard load. So how would we figure that one
out?