Re: [PATCH v5 08/12] mm/sparse-vmemmap: move vmemmap optimization helpers to a public header
From: David Hildenbrand (Arm)
Date: Tue Sep 29 2026 - 03:44:39 EST
On 9/27/26 04:54, Muchun Song wrote:
> The vmemmap optimization helpers currently live in mm/sparse.h,
> which is an internal MM header. That works for MM code, but
> prevents powerpc from using the same interfaces without including a
> private header.
>
> Move the declarations and inline helpers to vmemmap-optimization.h.
> This is a preparatory change for powerpc, which has its own vmemmap
> optimization implementation and needs to use the common vmemmap
> optimization interfaces from architecture code.
Which raises the question why powerpc was special and will remain special. Wha's
the big problem here that powerpc must do special things?
Change itself looks good.
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David