* [merged mm-stable] mm-vmscan-add-more-comments-about-cache_trim_mode.patch removed from -mm tree
@ 2025-05-13 6:53 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-05-13 6:53 UTC (permalink / raw)
To: mm-commits, yuzhao, yosry.ahmed, muchun.song, mhocko, hannes,
hezhongkun.hzk, akpm
The quilt patch titled
Subject: mm: vmscan: add more comments about cache_trim_mode
has been removed from the -mm tree. Its filename was
mm-vmscan-add-more-comments-about-cache_trim_mode.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: Zhongkun He <hezhongkun.hzk@bytedance.com>
Subject: mm: vmscan: add more comments about cache_trim_mode
Date: Mon, 21 Apr 2025 17:13:29 +0800
Add more comments for cache_trim_mode, and the annotations provided by
Johannes Weiner in [1].
Link: https://lore.kernel.org/all/20250314141833.GA1316033@cmpxchg.org/
Link: https://lkml.kernel.org/r/4baad87ba637f1e6f666e9b99b3fdcb7ab39171b.1745225696.git.hezhongkun.hzk@bytedance.com
Signed-off-by: Zhongkun He <hezhongkun.hzk@bytedance.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Yosry Ahmed <yosry.ahmed@linux.dev>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/vmscan.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/mm/vmscan.c~mm-vmscan-add-more-comments-about-cache_trim_mode
+++ a/mm/vmscan.c
@@ -2536,7 +2536,8 @@ static void get_scan_count(struct lruvec
/*
* If there is enough inactive page cache, we do not reclaim
- * anything from the anonymous working right now.
+ * anything from the anonymous working right now to make sure
+ * a streaming file access pattern doesn't cause swapping.
*/
if (sc->cache_trim_mode) {
scan_balance = SCAN_FILE;
_
Patches currently in -mm which might be from hezhongkun.hzk@bytedance.com are
mm-cma-set-early_pfn-and-bitmap-as-a-union-in-cma_memrange.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-13 6:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13 6:53 [merged mm-stable] mm-vmscan-add-more-comments-about-cache_trim_mode.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.