Skip to content

Commit

Permalink
anykernel: update LMK minfree values
Browse files Browse the repository at this point in the history
Increase aggressiveness on lowest priority tasks.
  • Loading branch information
AkiraNoSushi committed Mar 3, 2022
1 parent 8e1bd79 commit aa37d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnyKernel3/patch/init.qcom.post_boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aa37d01

Please sign in to comment.