Kernel Stack Sizes

Kenneth Porter shiva at sewingwitch.com
Fri Jun 18 02:14:03 UTC 2004


--On Wednesday, June 16, 2004 7:03 PM -0400 Steve Brenneis 
<sbrenneis at surry.net> wrote:

> I searched the archives of the list for discussion on this topic and
> couldn't find anything. Can anyone tell me why the Fedora 2.6 kernels
> are configured for 4K stacks?

A little googling turned up this technical explanation:

<http://lwn.net/Articles/84583/>

I'm unclear why the pages need to be physically contiguous, though. Is this 
a limitation in the x86 architecture?

I'm also curious if there are any good static analysis tools that can be 
run against the kernel source to compute worst-case stack depth? Surely 
someone in the gcc group has come up with such a critter?





More information about the devel mailing list