1
0
Files
linux/debian/patches/patchset-xanmod/xanmod/0012-XANMOD-mm-vmscan-Reduce-amount-of-swapping.patch

22 lines
562 B
Diff

From 7ede458d310744257808696e599b8e9b11333dd0 Mon Sep 17 00:00:00 2001
From: Alexandre Frade <kernel@xanmod.org>
Date: Fri, 30 May 2025 19:58:58 +0000
Subject: [PATCH 14/19] XANMOD: mm/vmscan: Reduce amount of swapping
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
---
mm/vmscan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -200,7 +200,7 @@ struct scan_control {
/*
* From 0 .. MAX_SWAPPINESS. Higher means more swappy.
*/
-int vm_swappiness = 60;
+int vm_swappiness = 10;
#ifdef CONFIG_MEMCG