Re: [PATCH] mm/thp: Make ARCH_ENABLE_SPLIT_PMD_PTLOCK dependent on PGTABLE_LEVELS > 2

From: Peter Zijlstra
Date: Mon May 10 2021 - 04:54:11 EST


On Mon, May 10, 2021 at 10:05:45AM +0530, Anshuman Khandual wrote:
> - select ARCH_ENABLE_SPLIT_PMD_PTLOCK if X86_64 || X86_PAE
> + select ARCH_ENABLE_SPLIT_PMD_PTLOCK if (PGTABLE_LEVELS > 2) && (X86_64 || X86_PAE)

It's still very early on a Monday, but IIRC this new condition is
identical to the pre-existing one.