diff options
| author | celtare21 <celtare21@gmail.com> | 2019-05-08 17:11:37 +0000 |
|---|---|---|
| committer | celtare21 <celtare21@gmail.com> | 2019-06-14 14:06:23 +0300 |
| commit | d5196b333931da8f6a85c0128c351a31d9ab67b7 (patch) | |
| tree | a3875bc4dfdf7a4999d2f48812fadf6aed3e627c /rootdir | |
| parent | e596bd6fbd2efd5bce01d1812bc964dfdbe667c4 (diff) | |
mata: ramdisk: Mount blkio and schedtune together
Signed-off-by: celtare21 <celtare21@gmail.com>
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/etc/init.performance.mata.rc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rootdir/etc/init.performance.mata.rc b/rootdir/etc/init.performance.mata.rc index c1b3a90d..ca985166 100644 --- a/rootdir/etc/init.performance.mata.rc +++ b/rootdir/etc/init.performance.mata.rc @@ -1,3 +1,14 @@ +on early-init + # mount schedtune and blkio together in "on early-init", + # so that mount schedtune in init.rc will fail + mkdir /dev/stune + mount cgroup none /dev/stune nodev noexec nosuid schedtune,blkio + + mkdir /dev/stune/foreground + mkdir /dev/stune/background + mkdir /dev/stune/top-app + mkdir /dev/stune/rt + on init # Disable UFS powersaving write /sys/devices/soc/${ro.boot.bootdevice}/clkscale_enable 0 |
