[PATCH v7 1/7] arm64/hugetlb: Extend batching of multiple CONT_PTE in a single PTE setup
David Hildenbrand (Arm)
david at kernel.org
Mon Jul 20 01:16:14 PDT 2026
On 7/15/26 13:08, Wen Jiang wrote:
> From: "Barry Song (Xiaomi)" <baohua at kernel.org>
>
> For sizes aligned to CONT_PTE_SIZE and smaller than PMD_SIZE,
> we can handle CONT_PTE_SIZE groups together.
>
> These additional sizes are mapping spans used by non-hugetlbfs(vmalloc)
> mm code, not new HugeTLB hstate sizes.
>
> Signed-off-by: Barry Song (Xiaomi) <baohua at kernel.org>
> Signed-off-by: Wen Jiang <jiangwen6 at xiaomi.com>
> Tested-by: Xueyuan Chen <xueyuan.chen21 at gmail.com>
> Tested-by: Leo Yan <leo.yan at arm.com>
> Reviewed-by: Dev Jain <dev.jain at arm.com>
> ---
> arch/arm64/mm/hugetlbpage.c | 15 +++++++++++++++
Huh, why are we touching hugetlbpage.c, which is HUGETLB-only material:
$ cat arch/arm64/mm/Makefile | grep hugetlbpage
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
Something is off here, if vmalloc ends up reusing some of these helpers, they
should probably get moved out here into common arm64 code.
--
Cheers,
David
More information about the linux-arm-kernel
mailing list