summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.qcom.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index a9e2002..8f01da0 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -87,6 +87,10 @@ on fs
# Mount ZRAM
swapon_all fstab.qcom
+ # Adaptive LMK
+ write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
+ write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059
+
on early-boot
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864