sched: Disable energy-unfriendly nohz kicks
authorMorten Rasmussen <morten.rasmussen@arm.com>
Tue, 3 Feb 2015 13:54:11 +0000 (13:54 +0000)
committerLeo Yan <leo.yan@linaro.org>
Tue, 10 May 2016 08:49:52 +0000 (16:49 +0800)
commitb71188bd2c52b6af022d687347eb4c7c29901580
treeba0e657386df12ad3c5792beca6420f17af9554e
parent52b7b8a37c3da55885a9b7e60b2c4db6cf2dbeff
sched: Disable energy-unfriendly nohz kicks

With energy-aware scheduling enabled nohz_kick_needed() generates many
nohz idle-balance kicks which lead to nothing when multiple tasks get
packed on a single cpu to save energy. This causes unnecessary wake-ups
and hence wastes energy. Make these conditions depend on !energy_aware()
for now until the energy-aware nohz story gets sorted out.

cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
kernel/sched/fair.c