[PATCH v2 4/6] mm: drop HIGHPTE support altogether
Mike Rapoport
rppt at kernel.org
Thu Nov 12 03:54:08 PST 2026
On Thu, Nov 12, 2026 at 12:25:26PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> With both x86 and arm having dropped CONFIG_HIGHPTE support, no
> architecture is left using it, so remove the remnants in common code.
>
> It is likely that further cleanups are possible in the page table
> code but those are not obvious from the config options.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
> include/linux/hugetlb.h | 5 +----
> include/linux/mm.h | 1 -
> include/linux/pgtable.h | 9 ---------
> 3 files changed, 1 insertion(+), 14 deletions(-)
With this and arm HIGHPTE patches applied there are still a few leftovers:
$ git grep HIGHPTE
arch/arm/configs/vt8500_v6_v7_defconfig:CONFIG_HIGHPTE=y
mm/memory.c: * Dumping the PTE would be nice, but it's tricky with CONFIG_HIGHPTE,
mm/pgtable-generic.c: * kmapped if necessary (when CONFIG_HIGHPTE), and locked against concurrent
mm/userfaultfd.c: * index ordering when CONFIG_HIGHPTE is enabled. We mapped dst_pte
Acked-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
--
Sincerely yours,
Mike.
More information about the linux-arm-kernel
mailing list