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

From: KAMEZAWA Hiroyuki
Date: Tue Nov 22 2005 - 05:48:27 EST


Mel Gorman wrote:
On Tue, 22 Nov 2005, Andi Kleen wrote:


All of that said, I am not even sure we have a bit left in the page
flags on smaller architectures :/.

How about

#define PG_checked 8 /* kill me in 2.5.<early>. */

?

At least PG_uncached isn't used on many architectures too, so could
be reused. I don't know why those that use it don't check VMAs instead.



PG_unchecked appears to be totally unused. It's only users are the macros
that manipulate the bit and mm/page_alloc.c . It appears it has been a
long time since it was used to it is a canditate for reuse.

Considering memory hotplug, I don't want to resize bitmaps at hot-add/remove.
no bitmap is welcome :)

-- Kame

-
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/