Re: [PATCH] arm64/mm: Rename ARM64_SWAPPER_USES_SECTION_MAPS

From: Catalin Marinas
Date: Fri Jun 18 2021 - 04:23:52 EST


On Fri, Jun 18, 2021 at 10:17:02AM +0530, Anshuman Khandual wrote:
> ARM64_SWAPPER_USES_SECTION_MAPS implies that a PMD level huge page mappings
> are used for swapper, idmap and vmemmap. Lets make it PMD explicit removing
> any possible confusion with generic memory sections and also bit generic as
> it's applicable for idmap and vmemmap mappings as well. Hence rename it as
> ARM64_KERNEL_USES_PMD_MAPS instead.
>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Will Deacon <will@xxxxxxxxxx>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>

With the removal of "section" naming in another patch, I think this
makes sense.

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>