diff options
author | Peter Zijlstra <[email protected]> | 2011-09-22 15:30:18 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-12-21 10:34:47 +0100 |
commit | a195f004e9496b4d99f471bb96e0a0c1af080909 (patch) | |
tree | 605f04617dc42458025cb4341e9e6407bed8b140 /tools/perf/scripts/python | |
parent | 5b54b56be5b540a9cb12682c4d0df5454c098a38 (diff) |
sched: Fix load-balance lock-breaking
The current lock break relies on contention on the rq locks, something
which might never come because we've got IRQs disabled. Or will be
very likely because on anything with more than 2 cpus a synchronized
load-balance pass will very likely cause contention on the rq locks.
Also the sched_nr_migrate thing fails when it gets trapped the loops
of either the cgroup muck in load_balance_fair() or the move_tasks()
load condition.
Instead, use the new lb_flags field to propagate break/abort
conditions for all these loops and create a new loop outside the irq
disabled on the break being required.
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions