summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore/files/5.1-0014-Swap-sucks.patch
blob: cca606c8f04a0dd0d39f26986c07ae31e694e94c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 2113c0b7c42ba961bcc409c1bf9aca9db747b2b0 Mon Sep 17 00:00:00 2001
From: Con Kolivas <kernel@kolivas.org>
Date: Sat, 12 Aug 2017 12:02:04 +1000
Subject: [PATCH 15/16] Swap sucks.

---
 mm/vmscan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/vmscan.c b/mm/vmscan.c
index a815f73ee4d5..4bcbaec19859 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -164,7 +164,7 @@ struct scan_control {
 /*
  * From 0 .. 100.  Higher means more swappy.
  */
-int vm_swappiness = 60;
+int vm_swappiness = 33;
 /*
  * The total number of pages which are beyond the high watermark within all
  * zones.
-- 
2.17.1