diff options
| author | NeoDarkness <aldi.45ckr@gmail.com> | 2016-12-23 08:56:17 +0300 |
|---|---|---|
| committer | Ilya Lededev <ashuli2003@gmail.com> | 2016-12-23 09:30:45 +0300 |
| commit | a9b384ec136e498a8fdf9c126f4b86a93d9dc2fc (patch) | |
| tree | cc883b8b44f1bc6965a9d128ac1a4c113f79a4ec /rootdir | |
| parent | b55ded93545bc2c271d6bc02b08f62120cba50f1 (diff) | |
peach: configure lowmemorykiller
One of our variants has only 1gb of ram available.
Add LMK configs so that wt88047 will run more smoothly.
Change-Id: I70aa2645ce41eca7e815286bab6593c56e33e3c2
Diffstat (limited to 'rootdir')
| -rwxr-xr-x | rootdir/etc/init.target.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 6c61a84..9db6902 100755 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -98,6 +98,10 @@ on boot write /sys/block/mmcblk0/queue/add_random 0 write /sys/block/mmcblk0/bdi/read_ahead_kb 128 +# Adaptive LMK + write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1 + write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059 + on post-fs-data mkdir /data/dpm/nsrm 0771 system system chown system system /data/dpm/nsrm |
