Re: Page allocator: Single Zone optimizations

Christoph Lameter
2006-11-02T18:08:36Z

On Thu, 2 Nov 2006, Andy Whitcroft wrote:

> with no reclaimable blocks regardless of algorithm. Unless we are going
> to allow all pages to be reclaimed (which is a massive job of
> unthinkable proportions IMO) then we need some kind of placement scheme
> to aid reclaim.

The pages clearly need to be separated according to movable and
unmovable. However, I think reclaimable needs to be the default
and some simple measures will make a significant portion of the pages that
we cannot currently move movable.

Unmovable pages need to be managed with some sort of special scheme and
are need to be kept together in a separate pool or something, They do not
need memory policy support f.e. Regular allocations should be left
unchanged and continue to be handled as is. Unmovable pages may have a
special flag or be handled in some special way.