land: Add support for top-app cpuset

Change-Id: I8a8540313572a4d109c06d0de11c1dd6a7b50f5a
This commit is contained in:
Zhao Wei Liew 2017-08-11 09:51:07 +02:00 committed by Prateek Chaubey
parent a95bc5fe1e
commit eafa76a130

View file

@ -4,10 +4,12 @@ on boot
write /sys/class/net/rmnet0/queues/rx-0/rps_cpus 2 write /sys/class/net/rmnet0/queues/rx-0/rps_cpus 2
# Update foreground and background cpusets # Update foreground and background cpusets
write /dev/cpuset/foreground/cpus 0-7 # Reserve CPU 7 for the top app
write /dev/cpuset/foreground/cpus 0-6
write /dev/cpuset/foreground/boost/cpus 0-3 write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/background/cpus 4-5 write /dev/cpuset/background/cpus 4-5
write /dev/cpuset/system-background/cpus 4-7 write /dev/cpuset/system-background/cpus 4-6
write /dev/cpuset/top-app/cpus 0-7
on enable-low-power on enable-low-power
# HMP scheduler settings # HMP scheduler settings