Re: [PATCH 07/49] mm/mm_init: use pageblock_migratetype_init_range() in deferred_free_pages()

Mike Rapoport
2026-04-13T09:41:11Z

On Sun, Apr 05, 2026 at 08:51:58PM +0800, Muchun Song wrote:
> Simplify deferred_free_pages by replacing the duplicate loops for
> initializing pageblock migratetype with a call to
> pageblock_migratetype_init_range to simplify the code.
>
> Signed-off-by: Muchun Song <songmuchun@bytedance.com>

Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>

> ---
> mm/mm_init.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)

--
Sincerely yours,
Mike.