Skip to contentSkip to conversation

page allocator hotfixes for 7.4-rc2

GIT PULL Merged Vlastimil Babka (SUSE) 3 participants 3 messages Nov 10 Memory management

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull the latest page allocator hotfixes from:

git://git.kernel.org/pub/scm/linux/kernel/git/mm/page_alloc.git tags/page_alloc-for-7.4-rc2

The page allocator tree has been created as part of the mm maintenance transition. Commits from there should be reaching you via David's mm integration tree eventually, but for now it's part of spreading the effort of dealing with the (AI) hotfixes.

In this case the AI hotfixes came from Josef, but since Gregory has been working in the area (hotplug races with page allocator) for a while and there was an overlap, we tried to combine the better versions of both.

Thanks,
Vlastimil

======================================

- Stable hotfixes for various races of page allocator's reading of zonelists and memory hotplug activity. These can result in BUGs, allocation failures or allocations from wrong nodes. (Gregory Price, Josef Bacik)

- Stable hotfixes for bugs free_pages_nolock(), page_frag allocation, page isolation, that can trigger WARNs, degraded operation or infinite loop (Josef Bacik)

----------------------------------------------------------------
The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:

Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mm/page_alloc.git tags/page_alloc-for-7.4-rc2

for you to fetch changes up to 2122887b04f3f2d76daa80055c2c273926032fa0:

mm/page_alloc: remove the zone_spans_pfn() check from get_pfnblock_bitmap_bitidx() (2026-11-10 09:19:09 +0100)

----------------------------------------------------------------
page allocator hotfixes for 7.4-rc2

----------------------------------------------------------------
Gregory Price (Meta) (11):
mm/page_alloc: reset can_retry_reserves when the slowpath restarts mm/page_alloc: detect zonelist rebuilds from memory hot-add mm/mmzone: read the zoneref slot once in zonelist_zone() mm/page_alloc: snapshot the preferred zone against shrink rebuilds mm/mmzone: read each zoneref slot once when filtering by nodemask mm/page_alloc: retry allocations that raced with a zonelist rebuild mm/hugetlb: retry the pool walk when the zonelist is rebuilt mm/page_alloc: retry alloc_contig_pages() when the zonelist is rebuilt mm/mempolicy: read the zoneref slot once in mempolicy_slab_node() mm/mmzone: remove zonelist_node_idx()
mm/page_alloc: don't undo another isolation in alloc_contig_range

Josef Bacik (6):
mm/page_alloc: keep the pagesets of an empty zone mm, page_alloc: pass zone pointer to trace_reclaim_retry_zone mm/page_alloc: clear ->private of deferred free pages
mm: page_frag: refill the cache for large fragments
mm: page_isolation: do not take slab pages for free mm/memory_hotplug: resize zones under their seqlock

Vlastimil Babka (SUSE) (1):
mm/page_alloc: remove the zone_spans_pfn() check from get_pfnblock_bitmap_bitidx()

 include/linux/mmzone.h     |   9 +---
 include/trace/events/oom.h |   8 ++--
 mm/hugetlb.c               |  13 +++--
 mm/memory_hotplug.c        |  51 +++++++++++++-------
 mm/mempolicy.c             |   6 ++-
 mm/mmzone.c                |  11 +++--
 mm/page_alloc.c            | 116 +++++++++++++++++++++++++++++++++------------
 mm/page_alloc.h            |  19 ++++++++
 mm/page_frag_cache.c       |  21 ++++----
 mm/page_isolation.c        |   7 +++
 10 files changed, 185 insertions(+), 76 deletions(-)
#1 lore raw
Quoted 11 lines · Vlastimil Babka (SUSE)

Hi Linus,

please pull the latest page allocator hotfixes from:

git://git.kernel.org/pub/scm/linux/kernel/git/mm/page_alloc.git tags/page_alloc-for-7.4-rc2

The page allocator tree has been created as part of the mm maintenance transition. Commits from there should be reaching you via David's mm integration tree eventually, but for now it's part of spreading the effort of dealing with the (AI) hotfixes.

Quoted 7 lines

In this case the AI hotfixes came from Josef, but since Gregory has been working in the area (hotplug races with page allocator) for a while and there was an overlap, we tried to combine the better versions of both.

Thanks,
Vlastimil

Thank you for massaging this. The hoard of reports on the allocator landing at the same time was really unfortunate. Sorry for the pain.

Signature · 1 line
~Gregory
merge bot Merged
#2 lore raw
In reply to Vlastimil Babka (SUSE)
The pull request you sent on Tue, 10 Nov 2026 09:46:04 +0100:

The pull request you sent on Tue, 10 Nov 2026 09:46:04 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mm/page_alloc.git tags/page_alloc-for-7.4-rc2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/067c5c24cef23d913b67eaaf71ae67e7169a6620

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html