summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-04 15:44:55 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-04 15:44:55 +0000
commit48e5d840399f4884b7acabb42384f16deb9ea3a8 (patch)
tree74a994dee50b4941b62fe240b12a49f7849659eb /packages/sys-kernel/linux-sources-redcore-lts/files/0014-Swap-sucks.patch
parentc45a7830db68e3deec5bf43e78c048f06c43bf7b (diff)
sys-kernel/linux-{image,sources}-redcore-lts :HEADmaster
* version bump to v4.14.75 * adjust MuQSS v0.162 CPU scheduler to linux-hardened and enable it by default * add BFQ-SQ v8r12 I/O scheduler and enable it by default * lower HZ to 100 (recommended value for MuQSS enabled kernels) * disable dynamic ticks (MuQSS itself is a tickless scheduler, so no longer required)
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
+