Re: [PATCH v2] mm/mm_init: fix out-of-range first_deferred_pfn

Mike Rapoport <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.kernel.mm
Message-ID <178609265194.1678924.36219766049856904.b4-ty@b4>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.