mm-vmscan-prepare-for-the-refactoring-the-move_folios_to_lru.patch removed from -mm tree
The quilt patch titled
Subject: mm: vmscan: prepare for the refactoring the move_folios_to_lru()
has been removed from the -mm tree. Its filename was
mm-vmscan-prepare-for-the-refactoring-the-move_folios_to_lru.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Qi Zheng <[email protected]>
Subject: mm: vmscan: prepare for the refactoring the move_folios_to_lru()
Date: Thu, 5 Mar 2026 19:52:22 +0800
Once we refactor move_folios_to_lru(), its callers will no longer have to hold the lruvec lock; For shrink_inactive_list(), shrink_active_list() and evict_folios(), IRQ disabling is only needed for __count_vm_events() and __mod_node_page_state().
To avoid using local_irq_disable() on the PREEMPT_RT kernel, let's make all callers of move_folios_to_lru() use IRQ-safed count_vm_events() and mod_node_page_state().
---
mm/vmscan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscan-prepare-for-the-refactoring-the-move_folios_to_lru +3 -3
@@ -2021,7 +2021,7 @@ static unsigned long shrink_inactive_lismod_lruvec_state (lruvec,PGDEMOTE_KSWAPD +reclaimer_offset (sc), stat.nr_demoted); -__mod_node_page_state (pgdat,NR_ISOLATED_ANON + file, -nr_taken); +mod_node_page_state (pgdat,NR_ISOLATED_ANON + file, -nr_taken); item =PGSTEAL_KSWAPD +reclaimer_offset (sc);mod_lruvec_state (lruvec, item, nr_reclaimed);mod_lruvec_state (lruvec,PGSTEAL_ANON + file, nr_reclaimed);
@@ -2167,10 +2167,10 @@ static void shrink_active_list(unsigned nr_activate =move_folios_to_lru (lruvec, &l_active); nr_deactivate =move_folios_to_lru (lruvec, &l_inactive); -__count_vm_events (PGDEACTIVATE , nr_deactivate); +count_vm_events (PGDEACTIVATE , nr_deactivate);count_memcg_events (lruvec_memcg (lruvec),PGDEACTIVATE , nr_deactivate); -__mod_node_page_state (pgdat,NR_ISOLATED_ANON + file, -nr_taken); +mod_node_page_state (pgdat,NR_ISOLATED_ANON + file, -nr_taken);lru_note_cost_unlock_irq (lruvec, file,0 , nr_rotated); trace_mm_vmscan_lru_shrink_active(pgdat->node_id, nr_taken, nr_activate,
_
Patches currently in -mm which might be from [email protected] are