summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch')
-rw-r--r--packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch b/packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch
new file mode 100644
index 0000000..6bf5bcd
--- /dev/null
+++ b/packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch
@@ -0,0 +1,25 @@
+From ed0ab4c80fcb6fa4abb4f2f897e591df6eaa2d0e Mon Sep 17 00:00:00 2001
+From: Con Kolivas <kernel@kolivas.org>
+Date: Sat, 12 Aug 2017 12:02:04 +1000
+Subject: [PATCH 14/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 eb2f0315b8c0..67d03efab288 100644
+--- a/mm/vmscan.c
++++ b/mm/vmscan.c
+@@ -149,7 +149,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.11.0
+