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

From: Rob Landley
Date: Thu Nov 17 2005 - 09:10:58 EST


On Tuesday 15 November 2005 10:46, Giridhar Pemmasani wrote:
> Arjan van de Ven wrote:
> > the same as 2.4 effectively. 2.6 also has (and I wish it becomes "had"
> > soon) an option to get 6Kb effective stack space instead. This is an
> > increase of 2Kb compared to 2.4.
>
> It has been asked couple of times before in this context and no one cared
> to answer:
>
> Using 4k stacks may have advantages, but what compelling reasons are there
> to drop the choice of 4k/8k stacks? You can make 4k stacks default, but why
> throw away the option of 8k stacks, especially since the impact of this
> option on the kernel implementation is very little?

Once everything in the kernel tree has been cleaned up to work with 4k stacks,
then none of the in-kernel drivers need this option. No future kernel
drivers will be accepted into the tree if they don't work with 4k stacks,
either. Therefore, the 8k stack option becomes something _only_ needed for
out-of-tree drivers, and if out-of-tree drivers need >4k stacks they can
maintain the 8k patch out of tree along with said driver.

Why is this difficult to understand? The "impact on the implementation" of
having 100 extra exports of random internal kernel symbols is fairly small as
well (from a lines of code perspective), but on a policy level it ain't gonna
happen.

Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/