aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJoonsoo Kim <[email protected]>2013-04-23 17:27:37 +0900
committerIngo Molnar <[email protected]>2013-04-24 08:52:43 +0200
commitf1cd0858100c67273f2c74344e0c464344c4a982 (patch)
tree1b3acc84023a16fabf7c37bf0bdb782fe25094cb /tools/perf/scripts/python/sched-migration.py
parent642dbc39ab1ea00f47e0fee1b8e8a27da036d940 (diff)
sched: Change position of resched_cpu() in load_balance()
cur_ld_moved is reset if env.flags hit LBF_NEED_BREAK. So, there is possibility that we miss doing resched_cpu(). Correct it as changing position of resched_cpu() before checking LBF_NEED_BREAK. Signed-off-by: Joonsoo Kim <[email protected]> Tested-by: Jason Low <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Srivatsa Vaddagiri <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions