summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2014-09-03 18:40:34 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:00:35 -0700
commita6f510aa0a2332d7b909583ec2a56c226f31ff62 (patch)
tree562026f46f73f5759e1fecfd054d4ef72e1fd12e /include
parent9aecd4c576c866c40facea400feb8d13e600ebb0 (diff)
sched: update ld_moved for active balance from the load balancer
ld_moved is currently left set to 0 when the load balancer calls upon active balance. This behavior is incorrect as it prevents the termination of load balance for parent sched domains. Currently the feature is used quite frequently for power active balance and sched boost. This means that while sched boost is in effect we could run into a scenario where a more power efficient newly idle big CPU first triggers active migration from a less power efficient busy big CPU. It then continues to load balance at the cluster level causing active migration for a task running on a little CPU. Consequently the more power efficient big CPU ends up with two tasks where as the less power efficient big CPU may become idle. Fix this problem by updating ld_moved when active migration has been requested. Change-Id: I52e84eafb77249fd9378ebe531abe2d694178537 Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions