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

Ritesh Harjani (IBM) ritesh.list at gmail.com
Tue Jan 13 04:29:49 PST 2026


Mike Rapoport <rppt at kernel.org> writes:

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



More information about the linux-riscv mailing list