Skip to content
  • Dietmar Eggemann's avatar
    sched: Introduce energy awareness into update_sd_lb_stats · b6ab76d3
    Dietmar Eggemann authored and Morten Rasmussen's avatar Morten Rasmussen committed
    
    
    Energy-aware load balancing has to work alongside the conventional load
    based functionality. This includes the tipping point feature, i.e. being
    able to fall back from energy aware to the conventional load based
    functionality during an ongoing load balancing action.
    That is why this patch introduces an additional reference to hold the
    least efficient sched group (costliest) as well its statistics in form of
    an extra sg_lb_stats structure (costliest_stat).
    The function update_sd_pick_costliest is used to assign the least
    efficient sched group parallel to the existing update_sd_pick_busiest.
    
    cc: Ingo Molnar <mingo@redhat.com>
    cc: Peter Zijlstra <peterz@infradead.org>
    
    Signed-off-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
    b6ab76d3