[PATCH 0/3] arm64: Add support for PUD THP
Jinjiang Tu
tujinjiang at huawei.com
Wed Sep 9 02:00:15 PDT 2026
This series adds PUD THP support for arm64, enabling PUD THP for DAX
and pfnmap.
Patch 1 moves the identical pudp_invalidate() implementations from x86
and riscv to a generic location so arm64 can reuse it.
Patch 2 is a minor cleanup that simplifies pmd_special/pmd_mkspecial.
Patch 3 adds the necessary PUD page table helpers and selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD.
Jinjiang Tu (3):
mm: define generic pudp_invalidate() implementation
arm64: simplify pmd_special and pmd_mkspecial
arm64: Add support for PUD THP
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/pgtable.h | 71 +++++++++++++++-----
arch/powerpc/include/asm/book3s/64/pgtable.h | 1 +
arch/riscv/include/asm/pgtable.h | 3 -
arch/riscv/mm/pgtable.c | 9 ---
arch/x86/include/asm/pgtable.h | 3 -
arch/x86/mm/pgtable.c | 12 ----
include/linux/pgtable.h | 7 ++
mm/pgtable-generic.c | 14 ++++
9 files changed, 77 insertions(+), 44 deletions(-)
--
2.43.0
More information about the linux-arm-kernel
mailing list