]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched, x86: Optimize the preempt_schedule() call
authorPeter Zijlstra <peterz@infradead.org>
Wed, 14 Aug 2013 12:51:00 +0000 (14:51 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Sep 2013 12:23:07 +0000 (14:23 +0200)
commit1a338ac32ca630f67df25b4a16436cccc314e997
tree3291247c33c17376160821d19d1460c2da1da1a6
parentc2daa3bed53a81171cf8c1a36db798e82b91afe8
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 <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-tk7xdi1cvvxewixzke8t8le1@git.kernel.org
[ Fixed build error. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/calling.h
arch/x86/include/asm/preempt.h
arch/x86/kernel/Makefile
arch/x86/kernel/i386_ksyms_32.c
arch/x86/kernel/preempt.S [new file with mode: 0644]
arch/x86/kernel/x8664_ksyms_64.c
include/asm-generic/preempt.h
include/linux/preempt.h