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 <[email protected]>
Reviewed-by: Oscar Salvador (SUSE) <[email protected]> I was about to complain why you do not go ahead and drop vmemmap_can_optimize but then I saw patch#4 :-) -- Oscar Salvador SUSE Labs
