summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2014-03-25 14:34:41 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:59:24 -0700
commit9931863046ec2ba6c79838e3b8bb0839b1104aa8 (patch)
treeefaec5a54f45d7a2fa5683bc3a3c4a8e4ed34393 /include/linux
parenta31debf1c93cc87f60915e06d00889a8a047656e (diff)
sched: do nohz load balancing in order of power efficiency
The nohz load balancer CPU does load balancing on behalf of all idle tickless CPUs. In the interest of power efficiency though, we should do load balancing on the most power efficient idle tickless CPU first, and then work our way towards the least power efficient idle tickless CPU. This will help load find its way to the most power efficient CPUs in the system. Since when selecting the CPU to balance next it is unknown what task load would be pulled, a frequency must be assumed in order to do a comparison of CPU power consumption. The maximum freqeuncy supported by all CPUs is used for this. Change-Id: I96c7f4300fde2c677c068dc10fc0e57f763eb9b2 Signed-off-by: Steve Muckle <smuckle@codeaurora.org> Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> [joonwoop@codeaurora.org: fixed minor conflict in nohz_idle_balance().] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions