Re: [PATCH v2 10/14] init,mm: fold late call to page_ext_init() to page_alloc_init_late()

From: Vlastimil Babka
Date: Wed Mar 22 2023 - 12:31:12 EST


On 3/21/23 18:05, Mike Rapoport wrote:
> From: "Mike Rapoport (IBM)" <rppt@xxxxxxxxxx>
>
> When deferred initialization of struct pages is enabled, page_ext_init()
> must be called after all the deferred initialization is done, but there
> is no point to keep it a separate call from kernel_init_freeable() right
> after page_alloc_init_late().
>
> Fold the call to page_ext_init() into page_alloc_init_late() and
> localize deferred_struct_pages variable.
>
> Signed-off-by: Mike Rapoport (IBM) <rppt@xxxxxxxxxx>
> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>