Re: [PATCH v3 05/11] mm/hugetlb: drop boot-time HVO handling for gigantic folios

From: Qi Zheng

Date: Mon Nov 23 2026 - 02:16:27 EST




On 11/20/26 6:08 PM, Muchun Song wrote:
HugeTLB HVO is currently supported on x86-64, riscv64, and LoongArch.
On x86-64 and riscv64, gigantic HugeTLB pages are larger than the
section size, so the existing section-based vmemmap optimization
infrastructure is already sufficient to cover the whole folio. On
LoongArch, HugeTLB HVO is supported without gigantic HugeTLB pages.

Therefore, boot-time HugeTLB HVO folios can rely on the section-based
vmemmap optimization infrastructure directly, without the extra bulk
optimization and fallback handling.

Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
---
mm/hugetlb.c | 25 +++++++------------------
mm/hugetlb_vmemmap.c | 19 +------------------
2 files changed, 8 insertions(+), 36 deletions(-)


LGTM, so:

Reviewed-by: Qi Zheng <qi.zheng@xxxxxxxxx>

Thanks,
Qi