From 07bb0522cf6f0d188ee8b7878db03e9c3b62f9ef Mon Sep 17 00:00:00 2001 From: syphyr Date: Sun, 14 Apr 2019 01:44:18 +0200 Subject: [PATCH] msm8976-common: adjust lowmemorykiller settings Upstream does not use these settings Fixes: "Revert "lowmemorykiller: adapt to vmpressure"" "Revert "lowmemorykiller: Introduce sysfs node for ALMK and PPR adj threshold" Change-Id: Ifa2a8b2aaa0ab9c6326ded570ccaf91c2ad5b8e1 --- rootdir/etc/init.qcom.power.rc | 3 --- 1 file changed, 3 deletions(-) diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 3035f9b..1891721 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -145,10 +145,7 @@ on enable-low-power write /proc/sys/kernel/sched_enable_thread_grouping 1 # LMK & Process reclaim - write /sys/module/lowmemorykiller/parameters/adj_max_shift 354 - write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1 write /sys/module/lowmemorykiller/parameters/minfree "18432,23040,27648,32256,55296,80640" - write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 81250 write /sys/module/process_reclaim/parameters/enable_process_reclaim 1 write /sys/module/process_reclaim/parameters/min_score_adj 354