Re: [PATCH] sched/fair: Simplify the code of should_we_balance()
From: Peter Zijlstra
Date: Tue Apr 14 2020 - 06:58:18 EST
On Tue, Apr 14, 2020 at 09:25:00AM +0200, Vincent Guittot wrote:
> On Sat, 11 Apr 2020 at 11:21, Peng Wang <rocking@xxxxxxxxxxxxxxxxx> wrote:
> >
> > We only consider group_balance_cpu() after there is no idle
> > cpu. So, just do comparison before return at these two cases.
> >
> > Signed-off-by: Peng Wang <rocking@xxxxxxxxxxxxxxxxx>
>
> With the small fix in the comment below
Done
> Reviewed-by: Vincent Guittot <vincent.guittot@xxxxxxxxxx>
Thanks Guys!