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

From: Benjamin Herrenschmidt <[email-masked]>
Date: Wed, 18 Jul 2012 17:17:00 +1000

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.