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

From: Vlastimil Babka (SUSE)

Date: Wed Nov 04 2026 - 02:19:14 EST


On 11/3/26 17:16, Vlastimil Babka (SUSE) wrote:
> 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.

Now done.

> Signed-off-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>
> ---
> 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/20261027-pgalloc-ai-hotfixes-v1-0-9c7d1aca801e@xxxxxxxxxx
>
> ---
> 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
>