Cc: <7eggert@...>, Adrian Bunk <bunk@...>, Alan Cox <alan@...>, Shawn Bohrer <shawn.bohrer@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>, Arjan van de Ven <arjan@...>, Thomas Gleixner <tglx@...>, Andi Kleen <andi@...>
No, you wouldn't. But, at least at the companies I've worked for, there was
already a custom kernel running and it had a default configuration file that
was updated and carried over to each new kernel, with a "make oldconfig" done
to update it.
It should be updated to note that there are configurations that will overrun
the stack and cause crashes. (However, it shouldn't be the default - I'll
agree to that)
Agreed. I've been arguing about it without being clear that my arguments for
it (including making it the default) are from the perspective of a desktop
user who had run the "stack depth check" on an 8K stacks kernel for a long
time and found that the only times he ever had problems was during boot -
with "sed" and "grep" being the culprits.
Booting a 4K stacks kernel wouldn't work if I hadn't also modified the
initscripts here, and that wasn't easy - I've got a report of grep using
enough stack that only about 3900 bytes were left on the 8K stack. However,
I think this does show that there are problems left in a number of places
that make moving to a default of 4K stacks dangerous.
(I've recently checked this by undoing my changes and setting up an 8K kernel
on this laptop - I don't know if the next version of the distro will ship
with 4K stacks, but I'm pretty certain it won't)
In light of this I'm going to pull out of this discussion, because I can no
longer support a move to 4K stacks default. This doesn't mean I don't still
support having them around, or even a move to them as a default at a later
date, but right now there are still many places where there are problems that
would cause "mysterious" failures and corruption with 4K stacks.
DRH
--
Dialup is like pissing through a pipette. Slow and excruciatingly painful.
--