[PATCH] mm: setup pageblock_order before it's used by sparse

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jul 18 17:17:00 EST 2012


On Tue, 2012-07-03 at 11:29 +0800, Jiang Liu wrote:
> OK, waiting response from PPC. If we could find some ways to set
> HPAGE_SIZE
> early on PPC too, we can setup pageblock_order in arch instead of
> page_alloc.c
> as early as possible. 

We could split our hugetlbpage_init() into two, with the bit that sets
HPAGE_SHIFT called earlier if it's really an issue.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list