[PATCH V2] arm64/mm: Add pud_sect_supported()

Will Deacon will at kernel.org
Wed Sep 29 10:48:23 PDT 2021


On Mon, 20 Sep 2021 14:59:31 +0530, Anshuman Khandual wrote:
> Section mapping at PUD level is supported only on 4K pages and currently it
> gets verified with explicit #ifdef or IS_ENABLED() constructs. This adds a
> new helper pud_sect_supported() for this purpose, which particularly cleans
> up the HugeTLB code path. It updates relevant switch statements with checks
> for __PAGETABLE_PMD_FOLDED in order to avoid build failures caused with two
> identical switch case values in those code blocks.
> 
> [...]

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64/mm: Add pud_sect_supported()
      https://git.kernel.org/arm64/c/f8b46c4b51ab

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list