diff options
| author | Vincent Guittot <[email protected]> | 2018-12-14 17:01:57 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-01-27 12:29:37 +0100 |
| commit | 46a745d905858c7f453b29cffe368ba214b106fb (patch) | |
| tree | b083061f4ad237fdf68dc9dafcea272ac78dbec4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions