[PATCH 0/4] Demotion cleanup and fixes
From: Alexandre Ghiti
Date: Wed Mar 11 2026 - 07:05:59 EST
Small series that follows up the discussion at [1]. Note that the
initial issue reported there is not fixed in this series.
[1] https://lore.kernel.org/linux-mm/20260113081453.8293-1-akinobu.mita@xxxxxxxxx/
Alexandre Ghiti (4):
mm: Move demotion related functions in memory-tiers.c
mm: Rename node_get_allowed_targets() to make it more explicit
mm: Fix demotion gfp by clearing GFP_RECLAIM after setting
GFP_TRANSHUGE
mm: Fix demotion gfp by preserving initial gfp reclaim policy
include/linux/memory-tiers.h | 24 +++++++++--
mm/memory-tiers.c | 77 ++++++++++++++++++++++++++++++++-
mm/migrate.c | 8 ++--
mm/vmscan.c | 82 +-----------------------------------
4 files changed, 104 insertions(+), 87 deletions(-)
--
2.53.0