summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-09 20:03:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-09 20:03:56 +0000
commit42672d73de4fab730a2d6e91c92d19afebeb40bb (patch)
tree75f994204990d5dc91f836f1312406ec4b560105 /sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch
parentc3bbcf0672c7f05a24ba5869129ab012396870b2 (diff)
sys-kernel/linux-{image,sources}-redcore-lts : version bump to v4.14.95 && v4.19.20
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch')
-rw-r--r--sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch b/sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch
new file mode 100644
index 00000000..bd68ebec
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch
@@ -0,0 +1,25 @@
+From d8f6f203f5bdabdf1a5ddb6bdc9e13fae2b640b9 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 c5ef7240cbcb..3f04308b6445 100644
+--- a/mm/vmscan.c
++++ b/mm/vmscan.c
+@@ -159,7 +159,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
+