[PATCH v9 0/3] kho: add support for deferred struct page init

Mike Rapoport rppt at kernel.org
Mon May 4 03:03:07 PDT 2026


On Mon, May 04, 2026 at 09:53:01AM +0200, Pratyush Yadav wrote:
> On Sun, May 03 2026, Mike Rapoport wrote:
> 
> > Hi Michal,
> >
> > On Thu, Apr 23, 2026 at 02:25:35PM +0200, Michal Clapinski wrote:
> >> When CONFIG_DEFERRED_STRUCT_PAGE_INIT is enabled, struct page
> >> initialization is deferred to parallel kthreads that run later in
> >> the boot process.
> >
> > This patchset breaks memblock tests:
> > https://github.com/linux-mm/linux-mm/actions/runs/25259346624/job/74063911769
> >
> > Can you please send a fix?
> 
> Would something like this do the trick? It fixes the build for me and
> the tests pass.
> 
> I can send this as a proper patch if this looks good.

Yes, please :)
 
> --- 8< ---
> diff --git a/tools/testing/memblock/linux/mmzone.h b/tools/testing/memblock/linux/mmzone.h
> index bb682659a12d..8d934ff5b080 100644
> --- a/tools/testing/memblock/linux/mmzone.h
> +++ b/tools/testing/memblock/linux/mmzone.h
> @@ -35,4 +35,8 @@ typedef struct pglist_data {
>  
>  } pg_data_t;
>  
> +enum migratetype {
> +	MIGRATE_CMA,
> +};
> +
>  #endif
> -- 
> Regards,
> Pratyush Yadav

-- 
Sincerely yours,
Mike.



More information about the kexec mailing list