Re: [PATCH v3 11/11] mm/mm_init: move pageblock migratetype init to memmap helpers

From: Mike Rapoport

Date: Sun Nov 22 2026 - 10:46:00 EST


On Fri, 20 Nov 2026 18:08:56 +0800, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> ZONE_DEVICE memmap initialization already initializes pageblock
> migratetype after all struct pages have been initialized, while hugetlb
> bootmem folios have their own duplicate bootmem-specific initialization.
>
> Move the MIGRATE_MOVABLE pageblock initialization into the frozen memmap
> initialization helpers instead, so the ZONE_DEVICE and hugetlb bootmem
> paths can share the same initialization.
>
> [...]

Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

--
Sincerely yours,
Mike.