User: Password:
Subscribe / Log in / New account

x86: 4kstacks default

From:  Ingo Molnar <>
To:  Andrew Morton <>
Subject:  Re: x86: 4kstacks default
Date:  Sat, 19 Apr 2008 16:23:29 +0200
Message-ID:  <>
Cc:  Linux Kernel Mailing List <>, Arjan van de Ven <>, Thomas Gleixner <>
Archive-link:  Article

* Andrew Morton <> wrote:

> >  config 4KSTACKS
> >  	bool "Use 4Kb for kernel stacks instead of 8Kb"
> > -	depends on DEBUG_KERNEL
> >  	depends on X86_32
> > +	default y
> This patch will cause kernels to crash.

what mainline kernels crash and how will they crash? Fedora and other 
distros have had 4K stacks enabled for years:

  $ grep 4K /boot/config-2.6.24-9.fc9

and we've conducted tens of thousands of bootup tests with all sorts of 
drivers and kernel options enabled and have yet to see a single crash 
due to 4K stacks. So basically the kernel default just follows the 
common distro default now. (distros and users can still disable it)


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds