Re: [PATCH 1/3] Separate IRQ-stacks from 4K-stacks option

From: Alan Cox
Date: Fri Sep 10 2004 - 05:31:47 EST


On Gwe, 2004-09-10 at 00:25, Chris Wedgwood wrote:
> Right now CONFIG_4KSTACKS implies IRQ-stacks. Some people though
> really need 8K stacks and it would be nice to have IRQ-stacks for them
> too.

This is a lot of added code and complexity that does nothing. In
8K stack mode without IRQ stacks you already can only safely use 4K.
So any code that is broken in 4K stack mode is broken in the current
8K stack mode although it'll fail less often since the failure will
depend upon random IRQ/other timings.

8K + IRQ stacks is just making the stacks bigger (which is expensive)
and stressing the vm more. Fix the broken code instead, or just stop
supporting gcc 2.9x which will fix most of it for you

-
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/