post_boot: Update cpuset configuration for SDM660 and SDM630
Apply the restrictions for background and system-background after the boot is completed in post boot script. Change-Id: I51952831155d3ff69ce0c5511f0af17d9c8d5651 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
parent
06eb36c5d7
commit
e96bf391b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue