From 42672d73de4fab730a2d6e91c92d19afebeb40bb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 9 Feb 2019 20:03:56 +0000 Subject: sys-kernel/linux-{image,sources}-redcore-lts : version bump to v4.14.95 && v4.19.20 --- .../files/4.19-0014-Swap-sucks.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch (limited to 'sys-kernel/linux-sources-redcore-lts/files/4.19-0014-Swap-sucks.patch') 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 +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 + -- cgit v1.2.3