Subject: Re: [PATCH 7/8] s390/mm: use free_reserved_page() in vmem_free_pages()

From: Lance Yang <[email-masked]>
Date: Thu, 21 May 2026 16:39:35 +0800

On Mon, May 11, 2026 at 04:05:35PM +0200, David Hildenbrand (Arm) wrote:
>We never select CONFIG_HAVE_BOOTMEM_INFO_NODE on s390. Therefore,
>free_bootmem_page() nowadays always translates to free_reserved_page().

Yeah. After patch #04 there is no kmemleak handling left in
free_bootmem_page(), and on s390 it is just a wrapper around
free_reserved_page() :)

>Let's use free_reserved_page() to replace the free_bootmem_page() loop.
>We can stop including bootmem_info.h.
>
>Likely, vmemmap freeing code could be factored out into the core in the
>future.
>
>Signed-off-by: David Hildenbrand (Arm) <[email-masked]>
>---

Nice cleanup, feel free to add:
Reviewed-by: Lance Yang <[email-masked]>