aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-timeout.c
diff options
context:
space:
mode:
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>2013-04-23 17:27:37 +0900
committerIngo Molnar <mingo@kernel.org>2013-04-24 08:52:43 +0200
commitf1cd0858100c67273f2c74344e0c464344c4a982 (patch)
tree1b3acc84023a16fabf7c37bf0bdb782fe25094cb /block/blk-timeout.c
parent642dbc39ab1ea00f47e0fee1b8e8a27da036d940 (diff)
downloadkernel_goldelico_gta04-f1cd0858100c67273f2c74344e0c464344c4a982.zip
kernel_goldelico_gta04-f1cd0858100c67273f2c74344e0c464344c4a982.tar.gz
kernel_goldelico_gta04-f1cd0858100c67273f2c74344e0c464344c4a982.tar.bz2
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 <iamjoonsoo.kim@lge.com> Tested-by: Jason Low <jason.low2@hp.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> Cc: Davidlohr Bueso <davidlohr.bueso@hp.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1366705662-3587-2-git-send-email-iamjoonsoo.kim@lge.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'block/blk-timeout.c')
0 files changed, 0 insertions, 0 deletions