aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Borisov <dedsa2002@gmail.com>2019-05-28 01:32:30 +0530
committerMarcos Tolcachir <marcostolcachir@gmail.com>2022-01-05 04:55:47 +0100
commit6f68b7b6cc3163c55c51cc807aa45d68677ddb51 (patch)
treee836eb16ac53b3d5cf71951ad57dbef0a62c6c84
parent78cab0092412d41f4f393e744f122da6cd1eed03 (diff)
addison: init: Disable ALMK and PPR on all targets
* No matter how hard QC tried to improve these features, they still suffer from stability issues, mainly due to the unpredictable nature of vmpressure they rely on. Change-Id: Icd14c79298a3c268abffa06ed17a79dececf423a
-rw-r--r--rootdir/bin/init.qcom.post_boot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh
index 95d51a8..1e472dc 100644
--- a/rootdir/bin/init.qcom.post_boot.sh
+++ b/rootdir/bin/init.qcom.post_boot.sh
@@ -372,7 +372,7 @@ else
# Enable adaptive LMK for all targets &
# use Google default LMK series for all 64-bit targets >=2GB.
- #echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk
+ echo 0 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk
# Enable oom_reaper
if [ -f /sys/module/lowmemorykiller/parameters/oom_reaper ]; then
@@ -396,7 +396,7 @@ else
*)
#Set PPR parameters for all other targets.
echo $set_almk_ppr_adj > /sys/module/process_reclaim/parameters/min_score_adj
- echo 1 > /sys/module/process_reclaim/parameters/enable_process_reclaim
+ echo 0 > /sys/module/process_reclaim/parameters/enable_process_reclaim
echo 50 > /sys/module/process_reclaim/parameters/pressure_min
echo 70 > /sys/module/process_reclaim/parameters/pressure_max
echo 30 > /sys/module/process_reclaim/parameters/swap_opt_eff