kunlun2: Add SchedTune configuration

Bug: 36367381
Test: Boot and check stune configuration effect on sysfs

Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56
Signed-off-by: Andres Oportus <andresoportus@google.com>
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Andres Oportus 2017-03-24 11:21:47 -07:00 committed by GiaSen
parent bae3d485a5
commit 37bb69e906

View file

@ -47,6 +47,12 @@ on init
mount none /system/etc/init/android.hardware.light@2.0-service.rc /vendor/etc/init/android.hardware.light@2.0-service.rc bind
mount none /vendor/lost+found /vendor/overlay bind
# set default schedTune value for foreground/top-app
# Set default values for foreground and top-app stune
write /dev/stune/foreground/schedtune.prefer_idle 1
write /dev/stune/top-app/schedtune.boost 10
write /dev/stune/top-app/schedtune.prefer_idle 1
on late-fs
# Runtime fs tuning
write /sys/block/sda/queue/iostats 0