On Thu, Nov 12, 2026 at 12:25:26PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <[email protected]> > > 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 <[email protected]> > --- > 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) <[email protected]> -- Sincerely yours, Mike.
