summaryrefslogtreecommitdiffstats
path: root/arch/parisc/Kconfig
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-05-07 20:25:42 +0000
committerHelge Deller <deller@gmx.de>2013-05-07 22:30:35 +0200
commit200c880420a2c02a0899120ce52d801fad705b90 (patch)
treec7f206861dbe5707fe319122bee0eabb67da7b9f /arch/parisc/Kconfig
parent9372450cc22d185f708e5cc3557cf991be4b7dc5 (diff)
downloadop-kernel-dev-200c880420a2c02a0899120ce52d801fad705b90.zip
op-kernel-dev-200c880420a2c02a0899120ce52d801fad705b90.tar.gz
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/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index fe4afb0..cad060f 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
@@ -243,6 +243,14 @@ config SMP
If you don't know what to do here, say N.
+config IRQSTACKS
+ bool "Use separate kernel stacks when processing interrupts"
+ default n
+ help
+ If you say Y here the kernel will use separate kernel stacks
+ for handling hard and soft interrupts. This can help avoid
+ overflowing the process kernel stacks.
+
config HOTPLUG_CPU
bool
default y if SMP
OpenPOWER on IntegriCloud