Re: [PATCH v2 05/69] mm/mm_init: Simplify deferred_free_pages() migratetype init

From
Oscar Salvador <osalvador@suse.de>
Date
2026-05-14 08:12:25
Also in
linux-mm, lkml
Reply to
Muchun Song, 2026-05-13
On Wed, May 13, 2026 at 09:04:33PM +0800, Muchun Song wrote:
deferred_free_pages() open-codes two loops to initialize the pageblock
migratetype for a range of pages.

Replace them with pageblock_migratetype_init_range() to remove the
duplication and make the code clearer (Note that deferred_free_pages()
may be called from atomic context).

Signed-off-by: Muchun Song <redacted>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: Oscar Salvador <osalvador@suse.de>

 

-- 
Oscar Salvador
SUSE Labs
Thread (98 messages) 98 messages, 6 authors, last reply 2026-05-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help