Re: [PATCH v2 6/6] mm/mm_init.c: remove arch_reserved_kernel_pages()

Mike Rapoport
2024-03-27T15:41:49Z

On Mon, Mar 25, 2024 at 10:56:46PM +0800, Baoquan He wrote:
> Since the current calculation of calc_nr_kernel_pages() has taken into
> consideration of kernel reserved memory, no need to have
> arch_reserved_kernel_pages() any more.
>
> Signed-off-by: Baoquan He <bhe@redhat.com>

Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>

> ---
> arch/powerpc/include/asm/mmu.h | 4 ----
> arch/powerpc/kernel/fadump.c | 5 -----
> include/linux/mm.h | 3 ---
> mm/mm_init.c | 12 ------------
> 4 files changed, 24 deletions(-)
>