Re: [2.6 patch] i386: always use 4k stacks

Horst von Brand
2005-12-21T11:59:28Z

Parag Warudkar <kernel-stuff@comcast.net> wrote:
> > Oh, well, one of the larger drawbacks of 4KiB stacks is the inevitable
> > flamewar, each time with /less/ data (this round I've seen none) supporting
> > the need for larger stacks, into which all kinds of idiots* are suckered.

> At the same time, I haven't seen any data showing what we gain by losing
> the 8K stack option.

Code simplification (don't need both versions). Simpler kernel configuration.
Even smaller .config files ;-)

A useful byproduct is more reproducible crashes when the stack overruns (as
8KiB stands, it will crash the same, but only sometimes; probably even
more, as it really is 6KiB for process + IRQ, and with 4KiB they are 4KiB
each). Yes, more crashes is a feature, as it gets fixed faster.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513