diff options
author | Prashanth Nageshappa <[email protected]> | 2012-06-19 17:52:07 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-07-24 13:55:37 +0200 |
commit | bbf18b19495942cc730e8ff11fc3ffadf20cbfe1 (patch) | |
tree | 230cd53d8669da7c3881ded77651422b89615c16 /lib/string_helpers.c | |
parent | 85c1e7dae165acd004429f81fe52bfbf55b57a98 (diff) |
sched: Reset loop counters if all tasks are pinned and we need to redo load balance
While load balancing, if all tasks on the source runqueue are pinned,
we retry after excluding the corresponding source cpu. However, loop counters
env.loop and env.loop_break are not reset before retrying, which can lead
to failure in moving the tasks. In this patch we reset env.loop and
env.loop_break to their inital values before we retry.
Signed-off-by: Prashanth Nageshappa <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions