summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2014-08-26 11:56:08 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:00:32 -0700
commit251081550ff1ac7f602caf55e56c414c8271ddce (patch)
tree056faf07833431dc962a964b6a86dbaefad86778 /include
parentb7f98009c52997a421dbd70ea2cdedc4d1e8d55d (diff)
sched: fix bail condition in bail_inter_cluster_balance()
Following commit efcad25cbfb (revert "sched: influence cpu_power based on max_freq and efficiency), all CPUs in the system have the same cpu_power and consequently the same group capacity. Therefore, the check in bail_inter_cluster_balance() can now no longer be used to distinguish a higher performance cluster from one with lower performance. The check is currently broken and always returns true for every load balancing attempt. Fix this by using runqueue capacity instead which can still be used as a good measure of cluster capabilities. Change-Id: Idecfd1ed221d27d4324b20539e5224a92bf8b751 Signed-off-by: Steve Muckle <smuckle@codeaurora.org> Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions