x86: Remove CONFIG_4KSTACKS
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Jun 2010 12:16:14 +0000 (14:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Jun 2010 10:12:59 +0000 (12:12 +0200)
These days 4 kilobytes of stack just aren't enough for reliably operation,
and people using lots of threads have long switched to 64-bit kernels, so
remove the CONFIG_4KSTACKS option.

Signed-off-by: Christoph Hellwig <hch@lst.de>
LKML-Reference: <20100628121614.GB6605@lst.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/Kconfig.debug
arch/x86/include/asm/module.h
arch/x86/include/asm/page_32_types.h

index badda8e20e78e4ad64550e4ac5b922fa034be079..7f1530838bc850c7c2fe47981a5813613294454c 100644 (file)
@@ -121,15 +121,6 @@ config DEBUG_NX_TEST
          and the software setup of this feature.
          If in doubt, say "N"
 
-config 4KSTACKS
-       bool "Use 4Kb for kernel stacks instead of 8Kb"
-       depends on X86_32
-       ---help---
-         If you say Y here the kernel will use a 4Kb stacksize for the
-         kernel stack attached to each process/thread. This facilitates
-         running more threads on a system and also reduces the pressure
-         on the VM subsystem for higher order allocations.
-
 config DOUBLEFAULT
        default y
        bool "Enable doublefault exception handler" if EMBEDDED
index 3e2ce58a31a37f4ef65c67762f1b0dd75eb8ae33..67763c5d8b4ecc4f2e20541bcc73640ed03a8c12 100644 (file)
 #endif
 
 #ifdef CONFIG_X86_32
-# ifdef CONFIG_4KSTACKS
-#  define MODULE_STACKSIZE "4KSTACKS "
-# else
-#  define MODULE_STACKSIZE ""
-# endif
-# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_STACKSIZE
+# define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
 #endif
 
 #endif /* _ASM_X86_MODULE_H */
index 6f1b7331313f1af2744c50accfecd26e069a5bed..ade619ff9e2a414c918c7ba3c38352ee72a79254 100644 (file)
  */
 #define __PAGE_OFFSET          _AC(CONFIG_PAGE_OFFSET, UL)
 
-#ifdef CONFIG_4KSTACKS
-#define THREAD_ORDER   0
-#else
 #define THREAD_ORDER   1
-#endif
 #define THREAD_SIZE    (PAGE_SIZE << THREAD_ORDER)
 
 #define STACKFAULT_STACK 0
This page took 0.032663 seconds and 5 git commands to generate.