Re: [PATCH] sched/fair: Simplify the code of should_we_balance()

Peter Zijlstra
2020-04-14T10:58:19Z

On Tue, Apr 14, 2020 at 09:25:00AM +0200, Vincent Guittot wrote:
> On Sat, 11 Apr 2020 at 11:21, Peng Wang <rocking@linux.alibaba.com> 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@linux.alibaba.com>
>
> With the small fix in the comment below

Done

> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>

Thanks Guys!