From: Ingo Molnar <mingo@elte.hu>
Date: Wed, 30 Apr 2008 18:45:40 +0000 (+0200)
Subject: x86: 8K stacks by default
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6b8e1c7ec4af6defa7045ff3c9b266486124d9c5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

x86: 8K stacks by default

Switch back to 8K stacks as the safer default. Out-of-memory
situations are less problematic than silent and hard to debug
stack corruption.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 84c71c7e62e..5fc8d0b3191 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -118,7 +118,6 @@ config DEBUG_NX_TEST
 config 4KSTACKS
 	bool "Use 4Kb for kernel stacks instead of 8Kb"
 	depends on X86_32
-	default y
 	help
 	  If you say Y here the kernel will use a 4Kb stacksize for the
 	  kernel stack attached to each process/thread. This facilitates