summaryrefslogtreecommitdiff
path: root/system/test-kernel/0260-reduce-swappiness.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-01-06 19:29:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:54 -0500
commit6108a4f026838e289ab7bb990ee8311d3092e09b (patch)
tree61d1670c206c0f1c17013926e4f3012226c0adfd /system/test-kernel/0260-reduce-swappiness.patch
parentff32e1e943d15a805615ccdd84ec40e4b540daff (diff)
downloadpackages-6108a4f026838e289ab7bb990ee8311d3092e09b.tar.gz
packages-6108a4f026838e289ab7bb990ee8311d3092e09b.tar.bz2
packages-6108a4f026838e289ab7bb990ee8311d3092e09b.tar.xz
packages-6108a4f026838e289ab7bb990ee8311d3092e09b.zip
system/test-kernel [WIP 5.15]: new package. fixes #429, #430.
Diffstat (limited to 'system/test-kernel/0260-reduce-swappiness.patch')
-rw-r--r--system/test-kernel/0260-reduce-swappiness.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/test-kernel/0260-reduce-swappiness.patch b/system/test-kernel/0260-reduce-swappiness.patch
new file mode 100644
index 000000000..eeb0243ae
--- /dev/null
+++ b/system/test-kernel/0260-reduce-swappiness.patch
@@ -0,0 +1,11 @@
+--- linux-5.15/mm/vmscan.c 2021-11-01 07:53:10.000000000 +1100
++++ linux-5.15-ckvm/mm/vmscan.c 2021-12-23 18:53:51.735282731 +1100
+@@ -174,7 +174,7 @@
+ /*
+ * From 0 .. 200. Higher means more swappy.
+ */
+-int vm_swappiness = 60;
++int vm_swappiness = 24;
+
+ static void set_task_reclaim_state(struct task_struct *task,
+ struct reclaim_state *rs)