Re: [PATCH v5 09/12] powerpc/mm: switch device DAX to shared tail vmemmap pages

From: David Hildenbrand (Arm)

Date: Tue Sep 29 2026 - 04:51:09 EST


On 9/27/26 04:54, Muchun Song wrote:
> The powerpc radix compound vmemmap population path still finds a reusable
> tail page by walking the vmemmap page tables.
>
> Switch it to the common vmemmap_shared_tail_page() helper instead, so it
> can use the shared vmemmap page directly to simplify the code.
>
> This removes the powerpc-specific tail-page lookup and its fallback path
> and aligns the device DAX vmemmap optimization path with HugeTLB.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> ---

I did not grasp all the complexity of the old approach, but what i read here all
makes sense to me.

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David