diff options
author | Peter Zijlstra <[email protected]> | 2013-08-14 14:51:00 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-09-25 14:23:07 +0200 |
commit | 1a338ac32ca630f67df25b4a16436cccc314e997 (patch) | |
tree | 3291247c33c17376160821d19d1460c2da1da1a6 /lib/mpi/mpiutil.c | |
parent | c2daa3bed53a81171cf8c1a36db798e82b91afe8 (diff) |
sched, x86: Optimize the preempt_schedule() call
Remove the bloat of the C calling convention out of the
preempt_enable() sites by creating an ASM wrapper which allows us to
do an asm("call ___preempt_schedule") instead.
calling.h bits by Andi Kleen
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
[ Fixed build error. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions