diff options
author | Oleg Nesterov <[email protected]> | 2014-09-21 20:41:53 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-24 15:15:38 +0200 |
commit | 0ad6e3c5199be12c9745da8f8b9e3c9f8066c235 (patch) | |
tree | 581d938c3bf976c54a95b2fd6030c232b7885031 /net/lapb/lapb_subr.c | |
parent | f3670394c29ff3730638762c1760fd2f624e6d7b (diff) |
x86: Speed up ___preempt_schedule*() by using THUNK helpers
___preempt_schedule() does SAVE_ALL/RESTORE_ALL but this is
suboptimal, we do not need to save/restore the callee-saved
register. And we already have arch/x86/lib/thunk_*.S which
implements the similar asm wrappers, so it makes sense to
redefine ___preempt_schedule() as "THUNK ..." and remove
preempt.S altogether.
Signed-off-by: Oleg Nesterov <[email protected]>
Reviewed-by: Andy Lutomirski <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Peter Zijlstra <[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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions