Messages in this thread Patch in this message | | | From | Zhouyi Zhou <> | Subject | [RFC PATCH] x86_64: double the x86_64 kernel stack size? | Date | Wed, 11 Dec 2013 14:28:52 +0800 |
| |
Somethings I compiled the Linux network modules (especially bridge and netfilter) without optimization, the kernel always crashes because of exhausted kernel stack.
The similar problem has been discussed in http://lists.linuxfoundation.org/pipermail/bridge/2005-January/004402.html
Is it OK the double the x86_64 kernel stack size?
Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn> Tested-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn> --- arch/x86/include/asm/page_64_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/page_64_types.h b/arch/x86/include/asm/page_64_types.h index 43dcd80..dc4c629 100644 --- a/arch/x86/include/asm/page_64_types.h +++ b/arch/x86/include/asm/page_64_types.h @@ -1,7 +1,7 @@ #ifndef _ASM_X86_PAGE_64_DEFS_H #define _ASM_X86_PAGE_64_DEFS_H -#define THREAD_SIZE_ORDER 1 +#define THREAD_SIZE_ORDER 2 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) #define CURRENT_MASK (~(THREAD_SIZE - 1)) -- 1.7.10.4
| |