Re: [PATCH] arm64/mm: Drop THP conditionality from FORCE_MAX_ZONEORDER

2021-03-08 Thread Will Deacon
On Mon, 1 Mar 2021 16:55:14 +0530, Anshuman Khandual wrote: > Currently without THP being enabled, MAX_ORDER via FORCE_MAX_ZONEORDER gets > reduced to 11, which falls below HUGETLB_PAGE_ORDER for certain 16K and 64K > page size configurations. This is problematic which throws up the following >

Re: [PATCH] arm64/mm: Drop THP conditionality from FORCE_MAX_ZONEORDER

2021-03-01 Thread Catalin Marinas
On Mon, Mar 01, 2021 at 04:55:14PM +0530, Anshuman Khandual wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 9cd33c7be429..d4690326274a 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -1156,8 +1156,8 @@ config XEN > > config FORCE_MAX_ZONEORDER > int

[PATCH] arm64/mm: Drop THP conditionality from FORCE_MAX_ZONEORDER

2021-03-01 Thread Anshuman Khandual
Currently without THP being enabled, MAX_ORDER via FORCE_MAX_ZONEORDER gets reduced to 11, which falls below HUGETLB_PAGE_ORDER for certain 16K and 64K page size configurations. This is problematic which throws up the following warning during boot as pageblock_order via HUGETLB_PAGE_ORDER order