sched/fair: Remove capacity inversion detection
authorVincent Guittot <vincent.guittot@linaro.org>
Wed, 1 Feb 2023 14:36:28 +0000 (15:36 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Feb 2023 10:18:09 +0000 (11:18 +0100)
commita2e90611b9f425adbbfcdaa5b5e49958ddf6f61b
treef9274d67b2d1ef68b9c972176386ff225d982105
parente5ed0550c04c5469ecdc1634d8aa18c8609590f0
sched/fair: Remove capacity inversion detection

Remove the capacity inversion detection which is now handled by
util_fits_cpu() returning -1 when we need to continue to look for a
potential CPU with better performance.

This ends up almost reverting patches below except for some comments:
commit da07d2f9c153 ("sched/fair: Fixes for capacity inversion detection")
commit aa69c36f31aa ("sched/fair: Consider capacity inversion in util_fits_cpu()")
commit 44c7b80bffc3 ("sched/fair: Detect capacity inversion")

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230201143628.270912-3-vincent.guittot@linaro.org
kernel/sched/fair.c
kernel/sched/sched.h