[lkml]   [2021]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 2/5] sched/fair: Skip update_blocked_averages if we are defering load balance
On Tue, Oct 19, 2021 at 02:35:34PM +0200, Vincent Guittot wrote:
> In newidle_balance(), the scheduler skips load balance to the new idle cpu
> when the 1st sd of this_rq is:
> this_rq->avg_idle < sd->max_newidle_lb_cost
> Doing a costly call to update_blocked_averages() will not be useful and
> simply adds overhead when this condition is true.
> Check the condition early in newidle_balance() to skip
> update_blocked_averages() when possible.
> Signed-off-by: Vincent Guittot <>
> Signed-off-by: Tim Chen <>

The Signed-off-by seems to be in the wrong order but otherwise

Acked-by: Mel Gorman <>

Mel Gorman

 \ /
  Last update: 2021-10-21 11:44    [W:0.132 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site