Re: [PATCH] sched/fair: Fix the logic about active_balance in load_balance()

2020-08-03 Thread Qi Zheng
Hi Dietmar, I understand, thank you for your review and very detailed explanation. Yours, Qi Zheng On 2020/8/3 下午3:36, Dietmar Eggemann wrote: On 02/08/2020 06:51, Qi Zheng wrote: I think the unbalance scenario here should be that we need to do active balance but it is not actually done. So f

Re: [PATCH] sched/fair: Fix the logic about active_balance in load_balance()

2020-08-03 Thread Dietmar Eggemann
On 02/08/2020 06:51, Qi Zheng wrote: > I think the unbalance scenario here should be that we need to > do active balance but it is not actually done. So fix it. > > Signed-off-by: Qi Zheng > --- > kernel/sched/fair.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kerne

[PATCH] sched/fair: Fix the logic about active_balance in load_balance()

2020-08-01 Thread Qi Zheng
I think the unbalance scenario here should be that we need to do active balance but it is not actually done. So fix it. Signed-off-by: Qi Zheng --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 2ba8f230feb9