From 854eea703017bf6548db4dfc2bbd637634756ccf Mon Sep 17 00:00:00 2001 From: UtsavisGreat Date: Fri, 14 Jun 2019 03:30:28 +0000 Subject: [PATCH] sanders: disable adaptive low memory killer Signed-off-by: UtsavisGreat Signed-off-by: ronaxdevil --- rootdir/etc/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 37c5b73..cc551d9 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -992,7 +992,7 @@ on property:ro.boot.ram=4GB write /sys/module/process_reclaim/parameters/swap_opt_eff 30 write /sys/module/process_reclaim/parameters/pressure_min 50 write /sys/module/process_reclaim/parameters/per_swap_size 512 - write /sys/module/lowmemorykiller/parameters/minfree "15360,19200,23040,26880,34415,43737" + write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 0 #Reset the "read ahead" setting for system patition # result: ext4: 32KB, dm_verity:64KB, block layer: 128KB