From aa37d0123380510df5266e54a0066ba99f169161 Mon Sep 17 00:00:00 2001 From: Akira <76020594+AkiraNoSushi@users.noreply.github.com> Date: Mon, 28 Feb 2022 02:22:27 -0400 Subject: [PATCH] anykernel: update LMK minfree values Increase aggressiveness on lowest priority tasks. --- AnyKernel3/patch/init.qcom.post_boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AnyKernel3/patch/init.qcom.post_boot.sh b/AnyKernel3/patch/init.qcom.post_boot.sh index 7748c4da31fe..c9925c83844f 100644 --- a/AnyKernel3/patch/init.qcom.post_boot.sh +++ b/AnyKernel3/patch/init.qcom.post_boot.sh @@ -53,7 +53,7 @@ function configure_memory_parameters() { arch_type=`uname -m` - echo "4689,9378,14067,18756,23445,28134" > /sys/module/lowmemorykiller/parameters/minfree + echo "4687,9374,14061,18748,23435,74992" > /sys/module/lowmemorykiller/parameters/minfree # Calculate vmpressure_file_min as below & set for 64 bit: # vmpressure_file_min = last_lmk_bin + (last_lmk_bin - last_but_one_lmk_bin)