sched: Consider a not over-utilized energy-aware system as balanced
authorDietmar Eggemann <dietmar.eggemann@arm.com>
Sun, 10 May 2015 14:17:32 +0000 (15:17 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:18:50 +0000 (14:48 +0530)
commit8ca5b3ac6be0f13128aeabb81cc7dddd86da1f07
tree14db2371462dc1c2115664ffe69b50decdb3a673
parentaed8d22cc84fc6086dc7cd259f6d1cf744500a07
sched: Consider a not over-utilized energy-aware system as balanced

In case the system operates below the tipping point indicator,
introduced in ("sched: Add over-utilization/tipping point
indicator"), bail out in find_busiest_group after the dst and src
group statistics have been checked.

There is simply no need to move usage around because all involved
cpus still have spare cycles available.

For an energy-aware system below its tipping point,  we rely on the
task placement of the wakeup path. This works well for short running
tasks.

The existence of long running tasks on one of the involved cpus lets
the system operate over its tipping point. To be able to move such
a task (whose load can't be used to average the load among the cpus)
from a src cpu with lower capacity than the dst_cpu, an additional
rule has to be implemented in need_active_balance.

Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
kernel/sched/fair.c