land: Move cpuset config to power script

Change-Id: I9debac486fd9e15aa526538e84c1fbf7037897e6
This commit is contained in:
Zhao Wei Liew 2016-11-05 07:58:05 +08:00
parent a1ec7ac7db
commit 43bb34fc21
2 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,10 @@
on boot
# Update foreground and background cpusets
write /dev/cpuset/foreground/cpus 0-7
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/background/cpus 4-5
write /dev/cpuset/system-background/cpus 4-7
on enable-low-power
# HMP scheduler settings
write /proc/sys/kernel/sched_window_stats_policy 3

View file

@ -276,11 +276,5 @@ on boot
write /sys/devices/soc.0/78b8000.i2c/i2c-4/4-0020/input/input0/fw_name PR1702898-s3528t_00260005_00380008.img
write /sys/devices/soc.0/78b8000.i2c/i2c-4/4-0020/input/input0/update_fw 1
# update foreground cpuset now that processors are up
write /dev/cpuset/foreground/cpus 0-7
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/background/cpus 4-5
write /dev/cpuset/system-background/cpus 4-7
service mtservice /system/bin/mtd
class late_start