Re: [PATCH v3 15/29] powerpc: introduce arch_zone_limits_init()

From: IBM

Date: Tue Jan 13 2026 - 07:33:28 EST


Mike Rapoport <rppt@xxxxxxxxxx> writes:

> From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>
>
> Move calculations of zone limits to a dedicated arch_zone_limits_init()
> function.
>
> Later MM core will use this function as an architecture specific callback
> during nodes and zones initialization and thus there won't be a need to
> call free_area_init() from every architecture.
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> ---
> arch/powerpc/mm/mem.c | 22 ++++++++++++----------
> 1 file changed, 12 insertions(+), 10 deletions(-)

This v2 looks good to me.
I have also done a basic bootup testing using Linux PPC CI.

Please feel free to add:

Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx>