Fix stack overflow test for non-8k stacks
PATCH 1/1 Fix stack overflow test for non-8k stacks
This is needed to work properly with 4k and 16k stacks. Please apply.
test-mpm/arch/i386/kernel/entry.S | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
arch/i386/kernel/entry.S renamed from arch/i386/kernel/entry.S~stack_overflow +1 -1
@@ -55,7 +55,7 @@ */ #ifdef CONFIG_STACK_OVERFLOW_TEST #define STACK_OVERFLOW_TEST \ - testl $7680,%esp; \ + testl $(THREAD_SIZE - 512),%esp; \ jnz 10f; \ call stack_overflow; \ 10:
_
Signature · 1 line
Matt Mackall : http://www.selenic.com : Linux development and consulting