Re: [PATCH 2/5] Light Fragmentation Avoidance V20: 002_usemap

From: Andi Kleen
Date: Tue Nov 15 2005 - 20:50:52 EST


On Wednesday 16 November 2005 02:43, Mel Gorman wrote:

> 1. I was using a page flag, valuable commodity, thought I would get kicked
> for it. Usemap uses 1 bit per 2^(MAX_ORDER-1) pages. Page flags uses
> 2^(MAX_ORDER-1) bits at worse case.

Why does it need multiple bits? A page can only be in one order at a
time, can't it?

> 2. Fragmentation avoidance tended to break down, very fast.

Why? The algorithm should the same, no?

> 3. When changing a block of pages from one type to another, there was no
> fast way to make sure all pages currently allocation would end up on
> the correct free list

If you can change the bitmap you can change as well mem_map

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/