From 3eaea533e177934bf4c4113f2e354014f98ae468 Mon Sep 17 00:00:00 2001 From: Artem Borisov Date: Tue, 28 May 2019 01:32:30 +0530 Subject: [PATCH] sdm660-common: Disable ALMK 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. Signed-off-by: PIPIPIG233666 <2212848813@qq.com> Change-Id: I8256abb91b7e3160670ec45a22fdceeecc2a928c --- rootdir/bin/init.qcom.post_boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index 2e32c654..2949fe0e 100644 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -725,7 +725,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