diff options
author | tunturn <arbiter1000@gmail.com> | 2017-03-08 00:29:52 +1100 |
---|---|---|
committer | Max Weffers <rcstar6696@gmail.com> | 2017-03-14 13:15:34 +0100 |
commit | ac499ddc33403616cd9b6c41f142dd68f558cd87 (patch) | |
tree | 2f7554440827189915c814c68408e385e37821b4 /rootdir | |
parent | 5da2957004f70e8a9625037ceef4f95def6b79fa (diff) |
shinano-common: rootdir: enable adaptive LMK
Change-Id: I837aec3285c70fabf4538611f887de6c48b3b6a8
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.qcom.rc | 4 |
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 |