[PATCH v2] powerpc/mm: Update default hugetlb size early

Michael Ellerman patch-notifications at ellerman.id.au
Wed Feb 16 23:25:58 AEDT 2022


On Fri, 11 Feb 2022 12:22:15 +0530, Aneesh Kumar K.V wrote:
> commit: d9c234005227 ("Do not depend on MAX_ORDER when grouping pages by mobility")
> introduced pageblock_order which will be used to group pages better.
> The kernel now groups pages based on the value of HPAGE_SHIFT. Hence HPAGE_SHIFT
> should be set before we call set_pageblock_order.
> 
> set_pageblock_order happens early in the boot and default hugetlb page size
> should be initialized before that to compute the right pageblock_order value.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/mm: Update default hugetlb size early
      https://git.kernel.org/powerpc/c/2354ad252b66695be02f4acd18e37bf6264f0464

cheers


More information about the Linuxppc-dev mailing list