1
0
linux/debian/patches/patchset-xanmod/xanmod/0011-XANMOD-mm-vmscan-Set-minimum-amount-of-swapping.patch

22 lines
566 B
Diff
Raw Normal View History

2024-12-10 06:44:25 +03:00
From 1ad86d993666c2d74ed6fd97e143b073e4b2c4c9 Mon Sep 17 00:00:00 2001
From: Alexandre Frade <kernel@xanmod.org>
Date: Wed, 14 Aug 2024 18:54:53 +0000
2024-12-10 06:44:25 +03:00
Subject: [PATCH 13/18] XANMOD: mm/vmscan: Set minimum 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
2024-11-08 22:50:42 +03:00
@@ -200,7 +200,7 @@ struct scan_control {
/*
* From 0 .. MAX_SWAPPINESS. Higher means more swappy.
*/
-int vm_swappiness = 60;
+int vm_swappiness = 1;
#ifdef CONFIG_MEMCG