summaryrefslogtreecommitdiff
path: root/system/test-kernel/0260-reduce-swappiness.patch
diff options
context:
space:
mode:
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)