Commit 74f8f557fd0c6f32e17e78c9ef508ca66ef37d3a
Committed by
Martin Schwidefsky
1 parent
47af551852
[S390] Don't use small stacks when lockdep is used.
The lock dependency validator adds a bunch of extra stack frames to the stack, which can cause stack overflows. Especially seen on 31 bit where the small stack is only 4k. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/s390/Kconfig
... | ... | @@ -178,7 +178,7 @@ |
178 | 178 | |
179 | 179 | config SMALL_STACK |
180 | 180 | bool "Use 4kb/8kb for kernel stack instead of 8kb/16kb" |
181 | - depends on PACK_STACK | |
181 | + depends on PACK_STACK && !LOCKDEP | |
182 | 182 | help |
183 | 183 | If you say Y here and the compiler supports the -mkernel-backchain |
184 | 184 | option the kernel will use a smaller kernel stack size. For 31 bit |