[PATCH v3 2/5] powerpc/mm: drop powerpc vmemmap_can_optimize()
Lance Yang
lance.yang at linux.dev
Sun Nov 8 20:26:47 PST 2026
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 at bytedance.com>
>---
LGTM, feel free to add:
Reviewed-by: Lance Yang <lance.yang at linux.dev>
More information about the linux-riscv
mailing list