Skip to content

mm, page_alloc: several stable fixes

Vlastimil Babka (SUSE) linux-mm lkml stable 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20261027-pgalloc-ai-hotfixes-59bcd873a355

Versions newest first

  1. v2 Latest5 patches 3 repliesIn review
  2. v19 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- rebased on page_alloc/for-next-fixes
- dropped 3 patches that were already merged from Gregory
- dropped "mm/compaction: trust zone->contiguous only in the span" as it
needs more thougt
- in the last patch, remove the VM_BUG_ON_PAGE completely
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm/page_alloc: clear ->private of deferred free pagesmm/page_alloc.c+2 -01 reply
2/5mm: page_frag: refill the cache for large fragmentsmm/page_frag_cache.c+13 -80 replies
3/5mm: page_isolation: do not take slab pages for freemm/memory_hotplug.c mm/page_isolation.c+14 -01 reply
4/5mm/memory_hotplug: resize zones under their seqlockmm/memory_hotplug.c+28 -160 replies
5/5mm/page_alloc: remove the zone_spans_pfn() check from get_pfnblock_bitmap_bitidx()mm/page_alloc.c+0 -10 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchZi YanJohannes Weiner
1/5R-b R-b
2/5R-b
3/5R-b R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] mm, page_alloc: several stable fixes

A bunch of fixes from Josef, filtered for page allocator by David.

I have tweaked some commit logs and a comment in one case.

In v2 some were dropped as they were merged already, the last one was changed to fix things differently. "mm/compaction: trust zone->contiguous only in the span" was dropped due to lots of sashiko feedback. compaction (as a pfn scanner) needs much more thought

Based on page_alloc/for-next-fixes, to be applied there as well.

---
Changes in v2:
- rebased on page_alloc/for-next-fixes
- dropped 3 patches that were already merged from Gregory
- dropped "mm/compaction: trust zone->contiguous only in the span" as it
needs more thougt
- in the last patch, remove the VM_BUG_ON_PAGE completely
- Link to v1: https://patch.msgid.link/[email protected]

---
Josef Bacik (4):
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()

 mm/memory_hotplug.c  | 51 +++++++++++++++++++++++++++++++++++----------------
 mm/page_alloc.c      |  3 ++-
 mm/page_frag_cache.c | 21 +++++++++++++--------
 mm/page_isolation.c  |  7 +++++++
 4 files changed, 57 insertions(+), 25 deletions(-)

---
base-commit: 743a99d7e339e81acaf76f3c902b23abb29abc15
change-id: 20261027-pgalloc-ai-hotfixes-59bcd873a355