diff options
author | Artem Borisov <dedsa2002@gmail.com> | 2019-05-28 01:32:30 +0530 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-05-21 19:43:03 +0300 |
commit | 88b41fb8f2a3af96d9054c5abe2f928e95b67c29 (patch) | |
tree | 2124b12140403ced64218ef2e342fffc1dc07c71 /rootdir | |
parent | 173dd53c1dbe28b870f6c7fab3c7d60f889b833b (diff) |
sdm660-common: 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
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/etc/init.qcom.post_boot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index eb642cd..c8c242f 100644 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -510,7 +510,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 @@ -534,7 +534,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 |