diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2018-12-14 17:01:57 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-01-27 12:29:37 +0100 |
commit | 46a745d905858c7f453b29cffe368ba214b106fb (patch) | |
tree | b083061f4ad237fdf68dc9dafcea272ac78dbec4 /kernel/fork.c | |
parent | 4ad4e481bd02c80c4b9c64e563d16d1c4442ea13 (diff) |
sched/fair: Fix unnecessary increase of balance interval
In case of active balancing, we increase the balance interval to cover
pinned tasks cases not covered by all_pinned logic. Neverthless, the
active migration triggered by asym packing should be treated as the normal
unbalanced case and reset the interval to default value, otherwise active
migration for asym_packing can be easily delayed for hundreds of ms
because of this pinned task detection mechanism.
The same happens to other conditions tested in need_active_balance() like
misfit task and when the capacity of src_cpu is reduced compared to
dst_cpu (see comments in need_active_balance() for details).
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: valentin.schneider@arm.com
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions