summaryrefslogblamecommitdiff
path: root/system/easy-kernel/0260-reduce-swappiness.patch
blob: 3879d6d6dd7a2b23d682f96b0c384f9e276e7a93 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                   
                        


                                                             
--- 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 = 22;
 
 static void set_task_reclaim_state(struct task_struct *task,
 				   struct reclaim_state *rs)