sched/fair: Fix imbalance overflow
[ Upstream commit 91dcf1e8 ] When local group is fully busy but its average load is above system load, computing the imbalance will overflow and local group is not the best target for pulling this load. Fixes: 0b0695f2 ("sched/fair: Rework load_balance()") Reported-by:Tingjia Cao <tjcao980311@gmail.com> Signed-off-by:
Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by:
Tingjia Cao <tjcao980311@gmail.com> Link: https://lore.kernel.org/lkml/CABcWv9_DAhVBOq2=W=2ypKE9dKM5s2DvoV8-U0+GDwwuKZ89jQ@mail.gmail.com/T/ Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment