summaryrefslogtreecommitdiff
path: root/system/easy-kernel/0260-reduce-swappiness.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-03-13 18:37:36 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:54 -0500
commit5ee14d3ae6662498723b1daf6f00f1a71521740f (patch)
tree9898987815da56f4f2b79c6e85ceb384c24ebb15 /system/easy-kernel/0260-reduce-swappiness.patch
parent59e83832ec569bcc4b2dd0b39d5553aa5210cb81 (diff)
downloadpackages-5ee14d3ae6662498723b1daf6f00f1a71521740f.tar.gz
packages-5ee14d3ae6662498723b1daf6f00f1a71521740f.tar.bz2
packages-5ee14d3ae6662498723b1daf6f00f1a71521740f.tar.xz
packages-5ee14d3ae6662498723b1daf6f00f1a71521740f.zip
system/easy-kernel: Replace with 5.15 test-kernel
Diffstat (limited to 'system/easy-kernel/0260-reduce-swappiness.patch')
-rw-r--r--system/easy-kernel/0260-reduce-swappiness.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/easy-kernel/0260-reduce-swappiness.patch b/system/easy-kernel/0260-reduce-swappiness.patch
new file mode 100644
index 000000000..eeb0243ae
--- /dev/null
+++ b/system/easy-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)