Re: [RFC PATCH] greatly reduce SLOB external fragmentation

From: Andi Kleen
Date: Thu Jan 10 2008 - 14:51:03 EST


> - huge pages (superpages for those crazy db people)
>
> Just a simple linked list of these things is fine, we'd never care
> about coalescing large pages together anyway.

I did essentially that for my GBpages hugetlbfs patchkit. GB pages are already
beyond MAX_ORDER and increasing MAX_ORDER didn't seem attractive because
it would require aligning the zones all to 1GB which would quite nasty.

So it just grabbed them out of bootmem early and managed them in a
per node list.

Not sure it's a good idea for 2MB pages though.

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