• Morten Rasmussen's avatar
    sched: Disable energy-unfriendly nohz kicks · 78106c97
    Morten Rasmussen authored
    
    
    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's avatarMorten Rasmussen <morten.rasmussen@arm.com>
    78106c97