Re: [V2] powerpc/Kconfig: Update config option based on page size.
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-09-15 23:26:53
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-09-15 23:26:53
santhosh [off-list ref] writes:
quoted
Michael Ellerman [off-list ref] writes:quoted
On Fri, 2016-19-02 at 05:38:47 UTC, Rashmica Gupta wrote:quoted
Currently on PPC64 changing kernel pagesize from 4K to 64K leaves FORCE_MAX_ZONEORDER set to 13 - which produces a compile error....quoted
So, update the range of FORCE_MAX_ZONEORDER from 9-64 to 8-9 for 64K pages and from 13-64 to 9-13 for 4K pages.https://git.kernel.org/powerpc/c/a7ee539584acf4a565b7439ceaHPAGE_PMD_ORDER is not something we should check w.r.t 4k linux page size. We do have the below constraint w.r.t hugetlb pages static inline bool hstate_is_gigantic(struct hstate *h) { return huge_page_order(h) >= MAX_ORDER; } That require MAX_ORDER to be greater than 12.
So have you tried that fix? cheers