x86/smp: Remove pointless duplicated interrupt code
Two NOP5s are really a good tradeoff vs. the unholy IDT switching mess, which duplicates code all over the place. The rescheduling interrupt gets optimized in a later step. Make the ordering of function call and statistics increment the same as in other places. Calculate stats first, then do the function call. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/20170828064957.222101344@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:

committed by
Ingo Molnar

parent
0f42ae283c
commit
85b77cdd8f
@@ -49,8 +49,8 @@ extern asmlinkage void call_function_single_interrupt(void);
|
||||
#ifdef CONFIG_TRACING
|
||||
/* Interrupt handlers registered during init_IRQ */
|
||||
extern void trace_reschedule_interrupt(void);
|
||||
extern void trace_call_function_interrupt(void);
|
||||
extern void trace_call_function_single_interrupt(void);
|
||||
#define trace_call_function_interrupt call_function_interrupt
|
||||
#define trace_call_function_single_interrupt call_function_single_interrupt
|
||||
#define trace_thermal_interrupt thermal_interrupt
|
||||
#define trace_threshold_interrupt threshold_interrupt
|
||||
#define trace_deferred_error_interrupt deferred_error_interrupt
|
||||
|
Reference in New Issue
Block a user