Re: [PATCH v3 04/12] mm: hugetlb_vmemmap: generalize vmemmap page allocation

From: Mike Rapoport

Date: Wed Nov 04 2026 - 06:11:00 EST


On Wed, 04 Nov 2026 10:35:02 +0800, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> Vmemmap page allocation is currently tied to restoring a virtual range
> and assumes an empty destination list. These constraints prevent it from
> being reused when pages are requested independently of a vmemmap range or
> appended to an existing list.
>
> Generalize the allocator and give it an all-or-nothing list contract so
> the restore and optimization paths can share the same allocation policy.
> This also allows HVO head-page allocation to fail gracefully under memory
> pressure without triggering the OOM killer.
>
> [...]

Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

--
Sincerely yours,
Mike.