OSDN Git Service

sched/fair: Code !is_big_little path into select_energy_cpu_brute()
authorDietmar Eggemann <dietmar.eggemann@arm.com>
Wed, 22 Mar 2017 18:16:03 +0000 (18:16 +0000)
committerAndres Oportus <andresoportus@google.com>
Fri, 2 Jun 2017 15:01:53 +0000 (08:01 -0700)
commit9e92e8a24fa5bfec70cc70cbfa81e2d34e887634
tree7465e5983907e48f8ad176b6b141e286a4df93e7
parentf6f931489311aa208255192bf22d189d095f5b9a
sched/fair: Code !is_big_little path into select_energy_cpu_brute()

This patch replaces the existing EAS upstream implementation of
select_energy_cpu_brute() with the one of find_best_target() used
in Android previously.

It also removes the cpumask 'and' from select_energy_cpu_brute,
see the existing use of 'cpu = smp_processor_id()' in
select_task_rq_fair().

Change-Id: If678c002efaa87d1ba3ec9989a4e9f8df98b83ec
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
[ added guarding for non-schedtune builds ]
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
kernel/sched/fair.c