From: Prashanth Nageshappa Date: Tue, 19 Jun 2012 12:22:07 +0000 (+0530) Subject: sched: Reset loop counters if all tasks are pinned and we need to redo load balance X-Git-Tag: v3.6-rc1~93^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbf18b19495942cc730e8ff11fc3ffadf20cbfe1;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/4FE06EEF.2090709@linux.vnet.ibm.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed