Merge "init.qcom.post_boot.sh: Add scheduler packing settings"
This commit is contained in:
commit
1e5e839362
|
@ -462,6 +462,11 @@ case "$target" in
|
||||||
soc_id=`cat /sys/devices/system/soc/soc0/id`
|
soc_id=`cat /sys/devices/system/soc/soc0/id`
|
||||||
fi
|
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
|
# Apply governor settings for 8916
|
||||||
case "$soc_id" in
|
case "$soc_id" in
|
||||||
"206")
|
"206")
|
||||||
|
@ -514,7 +519,7 @@ case "$target" in
|
||||||
echo 1 > /sys/devices/system/cpu/cpu5/online
|
echo 1 > /sys/devices/system/cpu/cpu5/online
|
||||||
echo 1 > /sys/devices/system/cpu/cpu6/online
|
echo 1 > /sys/devices/system/cpu/cpu6/online
|
||||||
echo 1 > /sys/devices/system/cpu/cpu7/online
|
echo 1 > /sys/devices/system/cpu/cpu7/online
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue