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)
committerLeo Yan <leo.yan@linaro.org>
Tue, 10 May 2016 08:49:52 +0000 (16:49 +0800)
commit52b7b8a37c3da55885a9b7e60b2c4db6cf2dbeff
tree31bc8285017ca4249c2987d881dfa0b93356cfb1
parente38982ba3289974385bd8fead9bf767d8cdde386
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