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>
1 file changed