mbox series

[0/2] mm: two allocator fixes for 6.15

Message ID 20250416135142.778933-1-hannes@cmpxchg.org (mailing list archive)
Headers show
Series mm: two allocator fixes for 6.15 | expand

Message

Johannes Weiner April 16, 2025, 1:45 p.m. UTC
Two fixes based on Vlastimil's review of the defrag_mode patches.

#1 fixes a bug that can lead to memory deadlocks on high-CPU-count
machines. This affects not just defrag_mode.

#2 fixes an overreclaim issue when defrag_mode is enabled.

Based on:

  commit 16176182efbf3dfce6dad18dcc8801164329d1c2 (akpm/mm-hotfixes-unstable)
  Author: Uros Bizjak <ubizjak@gmail.com>
  Date:   Fri Apr 4 12:24:37 2025 +0200

 include/linux/mmzone.h |  2 --
 mm/page_alloc.c        | 12 ------------
 mm/vmscan.c            | 29 ++++++++++++++++++++++++++---
 3 files changed, 26 insertions(+), 17 deletions(-)