diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2013-09-24 11:18:36 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2013-10-01 06:53:28 -0400 |
commit | a2cd11f7d58a3a5390ee4cbcd8cff634a4d59173 (patch) | |
tree | 52c80e413e4ec7d048714c372af5d2f49630155c /arch/x86/Kconfig | |
parent | cc1f027454929924471bea2f362431072e3c71be (diff) |
x86: Tell about irq stack coverage
x86-64 runs irq_exit() under the irq stack. So it can afford
to run softirqs in hardirq exit without the need to switch
the stacks. The hardirq stack is good enough for that.
Now x86-64 runs softirqs in the hardirq stack anyway, so what we
mostly skip is some needless per cpu refcounting updates there.
x86-32 is not concerned because it only runs the irq handler on
the irq stack.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@au1.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@au1.ibm.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: James E.J. Bottomley <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ee2fb9d37745..99eb1cc30dac 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -123,6 +123,7 @@ config X86 | |||
123 | select COMPAT_OLD_SIGACTION if IA32_EMULATION | 123 | select COMPAT_OLD_SIGACTION if IA32_EMULATION |
124 | select RTC_LIB | 124 | select RTC_LIB |
125 | select HAVE_DEBUG_STACKOVERFLOW | 125 | select HAVE_DEBUG_STACKOVERFLOW |
126 | select HAVE_IRQ_EXIT_ON_IRQ_STACK if X86_64 | ||
126 | 127 | ||
127 | config INSTRUCTION_DECODER | 128 | config INSTRUCTION_DECODER |
128 | def_bool y | 129 | def_bool y |