Re: [PATCH v2] mm/mm_init: fix out-of-range first_deferred_pfn
From: Mike Rapoport
Date: Fri Aug 07 2026 - 04:52:57 EST
On Fri, 07 Aug 2026 03:12:43 +0000, Alexander Graf wrote:
> With CONFIG_DEFERRED_STRUCT_PAGE_INIT enabled, deferred_grow_zone()
> undefers struct page ranges early in boot to satisfy an allocation. With
> a large CMA reservation in place, the ranges it finds may not add up to
> the allocation it was asked for, and we end up undeferring all available
> RAM and still fall short. That is fine in itself: the function accounts
> for it and leaves the caller to decide whether it now has enough memory.
>
> [...]
I reworded the code comment and the changelog even more and
applied to for-next branch of memblock.git tree, thanks!
[1/1] mm/mm_init: fix out-of-range first_deferred_pfn
commit: 97090500d776c3f6d08e857e3a0a7cf092999094
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock
branch: for-next
--
Sincerely yours,
Mike.