init.qcom.post_boot.sh: Add scheduler packing settings

Enable Task Packing logic for targets with HMP Scheduler.

Change-Id: Ib499e149c02944a2896aedd92c63758a6b35bd0b
This commit is contained in:
Krishna Vanka 2014-08-12 17:03:27 +05:30 committed by Gopal G Goberu
parent aa0066b998
commit 91e0d6de4c
1 changed files with 6 additions and 1 deletions

View File

@ -462,6 +462,11 @@ case "$target" in
soc_id=`cat /sys/devices/system/soc/soc0/id`
fi
# Apply HMP Task packing for 8916, 8936 and 8939
echo 30 > /proc/sys/kernel/sched_small_task
echo 50 > /proc/sys/kernel/sched_mostly_idle_load
echo 10 > /proc/sys/kernel/sched_mostly_idle_nr_run
# Apply governor settings for 8916
case "$soc_id" in
"206")
@ -514,7 +519,7 @@ case "$target" in
echo 1 > /sys/devices/system/cpu/cpu5/online
echo 1 > /sys/devices/system/cpu/cpu6/online
echo 1 > /sys/devices/system/cpu/cpu7/online
;;
;;
esac
;;
esac