Re: [PATCH 05/13] MIPS: make setup_zero_pages() use memblock

From: Mike Rapoport
Date: Tue Mar 11 2025 - 02:01:07 EST


On Thu, Mar 06, 2025 at 08:51:15PM +0200, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>
>
> Allocating the zero pages from memblock is simpler because the memory is
> already reserved.
>
> This will also help with pulling out memblock_free_all() to the generic
> code and reducing code duplication in arch::mem_init().
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> ---
> arch/mips/include/asm/mmzone.h | 2 --
> arch/mips/mm/init.c | 16 +++++-----------
> 2 files changed, 5 insertions(+), 13 deletions(-)

Andrew can you please pick this as a fixup?