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

Ritesh Harjani
2026-01-13T12:33:28Z

Mike Rapoport <rppt@kernel.org> writes:

> From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
>
> 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@kernel.org>
> ---
> 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@gmail.com>