aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2013-09-27 17:30:03 +0200
committerIngo Molnar <[email protected]>2013-09-28 10:04:47 +0200
commit75f93fed50c2abadbab6ef546b265f51ca975b27 (patch)
treeae531501cb671c948baedb8e07111f8dda2d5036 /lib/mpi/mpiutil.c
parent1a338ac32ca630f67df25b4a16436cccc314e997 (diff)
sched: Revert need_resched() to look at TIF_NEED_RESCHED
Yuanhan reported a serious throughput regression in his pigz benchmark. Using the ftrace patch I found that several idle paths need more TLC before we can switch the generic need_resched() over to preempt_need_resched. The preemption paths benefit most from preempt_need_resched and do indeed use it; all other need_resched() users don't really care that much so reverting need_resched() back to tif_need_resched() is the simple and safe solution. Reported-by: Yuanhan Liu <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Fengguang Wu <[email protected]> Cc: Huang Ying <[email protected]> Cc: [email protected] Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions