mm-vmscan-filter-out-the-dirty-file-folios-for-node_reclaim.patch removed from -mm tree
The quilt patch titled
Subject: mm: vmscan: filter out the dirty file folios for node_reclaim()
has been removed from the -mm tree. Its filename was
mm-vmscan-filter-out-the-dirty-file-folios-for-node_reclaim.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: Baolin Wang <[email protected]>
Subject: mm: vmscan: filter out the dirty file folios for node_reclaim()
Date: Fri, 17 Oct 2025 15:53:06 +0800
Patch series "optimize the logic for handling dirty file folios during reclaim", v2.
Since we no longer attempt to write back filesystem folios during reclaim, some logic for handling dirty file folios in the reclaim process also needs to be updated. Please check the details in each patch.
This patch (of 2):
After commit 6b0dfabb3555 ("fs: Remove aops->writepage"), we no longer attempt to write back filesystem folios in pageout(), and only tmpfs/shmem folios and anonymous swapcache folios can be written back. Therefore, we should also filter out the dirty filesystem folios for node_reclaim() to avoid unnecessary LRU scans.
---
mm/vmscan.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscan-filter-out-the-dirty-file-folios-for-node_reclaim +5 -3
@@ -7623,9 +7623,11 @@ static unsigned long node_pagecache_reclelse nr_pagecache_reclaimable =node_unmapped_file_pages (pgdat); -/* If we can't clean pages, remove dirty pages from consideration */ -if (!(node_reclaim_mode &RECLAIM_WRITE )) - delta +=node_page_state (pgdat,NR_FILE_DIRTY ); +/* +* Since we can't clean folios through reclaim, remove dirty file +* folios from consideration. +*/ + delta +=node_page_state (pgdat,NR_FILE_DIRTY );/* Watch for any possible underflows due to delta */ if (unlikely (delta > nr_pagecache_reclaimable))
_
Patches currently in -mm which might be from [email protected] are
mm-vmscan-remove-folio_test_private-check-in-pageout.patch mm-vmscan-remove-folio_test_private-check-in-pageout-fix-2.patch mm-vmscan-simplify-the-folio-refcount-check-in-pageout.patch mm-shmem-allow-fallback-to-smaller-large-orders-for-tmpfs-mmap-access.patch