Re: About 4k kernel stack size....

From: Mark Lord
Date: Mon Dec 19 2005 - 21:52:35 EST


J.A. Magallon wrote:
Hi...

I'm following the intense thread about stack size, and I see only one
solution.

Ship the nest stable, development, -mm, everything release of everything
with a maximum kernel/interrupt stack usage meter. The ask a poll for
everyone to send /proc/sys/stack_usage_max to a mailing list.

That won't do it.

The mainline code paths are undoubtedly fine with 4K stacks.
It's the *error paths* that are most likely to go deeper on the stack,
and those are rarely exercised by anyone. And those are the paths
that we *really* need to be reliable.

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