[PATCH 28/28] Revert "mm/hugetlb: deal with multiple calls to hugetlb_bootmem_alloc"
Muchun Song
muchun.song at linux.dev
Sun Dec 28 19:13:26 PST 2025
> On Dec 28, 2025, at 20:39, Mike Rapoport <rppt at kernel.org> wrote:
>
> From: "Mike Rapoport (Microsoft)" <rppt at kernel.org>
>
> hugetlb_bootmem_alloc() is called only once, no need to check if it was
> called aready at its entry.
>
> Other checks performed during HVO initialization are also no longer
> necessary because sparse_init() that calls hugetlb_vmemmap_init_early()
> and hugetlb_vmemmap_init_late() is alaways called after
> hugetlb_bootmem_alloc().
>
> This reverts commit d58b2498200724e4f8c12d71a5953da03c8c8bdf.
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
Nice cleanup.
Acked-by: Muchun Song <muchun.song at linux.dev>
Thanks.
More information about the linux-um
mailing list