diff options
author | Helge Deller <deller@gmx.de> | 2013-05-07 16:25:42 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-05-07 16:30:35 -0400 |
commit | 200c880420a2c02a0899120ce52d801fad705b90 (patch) | |
tree | c7f206861dbe5707fe319122bee0eabb67da7b9f /arch/parisc/Kconfig | |
parent | 9372450cc22d185f708e5cc3557cf991be4b7dc5 (diff) |
parisc: implement irq stacks
Default kernel stack size on parisc is 16k. During tests we found that the
kernel stack can easily grow beyond 13k, which leaves 3k left for irq
processing.
This patch adds the possibility to activate an additional stack of 16k per CPU
which is being used during irq processing. This implementation does not yet
uses this irq stack for the irq bh handler.
The assembler code for call_on_stack was heavily cleaned up by John
David Anglin.
CC: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/Kconfig')
-rw-r--r-- | arch/parisc/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index fe4afb0f152f..cad060f288cf 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
@@ -243,6 +243,14 @@ config SMP | |||
243 | 243 | ||
244 | If you don't know what to do here, say N. | 244 | If you don't know what to do here, say N. |
245 | 245 | ||
246 | config IRQSTACKS | ||
247 | bool "Use separate kernel stacks when processing interrupts" | ||
248 | default n | ||
249 | help | ||
250 | If you say Y here the kernel will use separate kernel stacks | ||
251 | for handling hard and soft interrupts. This can help avoid | ||
252 | overflowing the process kernel stacks. | ||
253 | |||
246 | config HOTPLUG_CPU | 254 | config HOTPLUG_CPU |
247 | bool | 255 | bool |
248 | default y if SMP | 256 | default y if SMP |