Merge "post_boot: Update cpuset configuration for SDM660 and SDM630"

This commit is contained in:
Linux Build Service Account 2017-06-08 18:39:20 -07:00 committed by Gerrit - the friendly Code Review server
commit aeec852653
1 changed files with 8 additions and 0 deletions

View File

@ -1673,6 +1673,10 @@ case "$target" in
echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill
echo 100000 > /proc/sys/kernel/sched_short_burst_ns
# cpuset settings
echo 0-3 > /dev/cpuset/background/cpus
echo 0-3 > /dev/cpuset/system-background/cpus
# disable thermal bcl hotplug to switch governor
echo 0 > /sys/module/msm_thermal/core_control/enabled
@ -1808,6 +1812,10 @@ case "$target" in
echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill
echo 50000 > /proc/sys/kernel/sched_short_burst_ns
# cpuset settings
echo 0-3 > /dev/cpuset/background/cpus
echo 0-3 > /dev/cpuset/system-background/cpus
# disable thermal bcl hotplug to switch governor
echo 0 > /sys/module/msm_thermal/core_control/enabled
for mode in /sys/devices/soc.0/qcom,bcl.*/mode