Re: [PATCH v3 2/5] powerpc/mm: drop powerpc vmemmap_can_optimize()
From: Lance Yang
Date: Sun Nov 08 2026 - 23:27:20 EST
On Sat, Nov 07, 2026 at 12:31:19PM +0800, Muchun Song wrote:
>Whether the optimized mapping can be used is now decided in the
>architecture-specific vmemmap_populate() path. When PowerPC has to fall
>back, such as on Hash MMU, it can disable optimization for the populated
>vmemmap range there.
>
>Add section_vmemmap_optimization_disable() to centralize this fallback,
>use it in the Hash MMU path, and drop the radix-specific
>vmemmap_can_optimize() override.
>
>Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
>---
LGTM, feel free to add:
Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>