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

From
Michael Ellerman <hidden>
Date
2022-02-16 12:30:13
Also in
linux-mm
Reply to
Aneesh Kumar K.V, 2022-02-11
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
Thread (8 messages) 8 messages, 3 authors, last reply 2022-02-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help