commit | ad706b22fdaec9cd05230e4943dd3073f54471d3 | [log] [tgz] |
---|---|---|
author | Chris Redpath <chris.redpath@arm.com> | Mon Mar 27 17:41:55 2017 +0100 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Fri Mar 31 11:18:53 2017 -0700 |
tree | fd335c78f999266920c144c17623f9b9668a6f59 | |
parent | 4846a13868dcb99cd2aae1bc30c13f3af3f1c7e0 [diff] |
EXPERIMENTAL: sched/fair: Use energy_diff for tasks where appropriate When a task is not a 'prefer_idle' task, we normally try to choose between the available CPUs based upon the 'best_idle' concept. Instead, add those cpus to a cpumask and later perform an energy_diff on the energy_candidates, then choose the one with the lowest energy. Change-Id: I057936b4279b16257094142d08f4e4d808b2cf86 Signed-off-by: Chris Redpath <chris.redpath@arm.com>