summaryrefslogblamecommitdiff
path: root/system/test-kernel/0260-reduce-swappiness.patch
blob: eeb0243ae8dd4d0e14a5c2840b65646b2d683695 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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)