Thread (17 messages) 17 messages, 3 authors, 14d ago

Re: [PATCH v3 02/11] mm/sparse-vmemmap: factor out shared vmemmap tail page allocation

From: Mike Rapoport <rppt@kernel.org>
Date: 2026-09-14 07:48:26
Also in: linux-doc, linux-mm, lkml

On Fri, 11 Sep 2026 13:02:19 +0800, Muchun Song [off-list ref] 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@kernel.org>

-- 
Sincerely yours,
Mike.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help