Re: [PATCH v3 02/11] mm/sparse-vmemmap: factor out shared vmemmap tail page allocation
From: Mike Rapoport
Date: Mon Sep 14 2026 - 04:05:18 EST
On Fri, 11 Sep 2026 13:02:19 +0800, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> HugeTLB and sparse-vmemmap each have their own helper to allocate the
> shared vmemmap tail page used by vmemmap optimization.
>
> Factor that logic into a common vmemmap_shared_tail_page() helper. It
> allocates the page through vmemmap_alloc_block(), and uses cmpxchg()
> to install the per-zone shared page.
>
> [...]
Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
--
Sincerely yours,
Mike.