Re: 4k stacks in 2.6

From: Dave Jones
Date: Wed May 26 2004 - 14:28:17 EST


On Wed, May 26, 2004 at 02:02:22PM -0500, Matt Mackall wrote:

> There was a patch floating around for this in the 2.2 era that I
> ported to 2.4 on one occassion. It won't tell you worst case though,
> just worst observed case.
>
> Sparse is probably not a bad place to put a real call chain stack analysis.

That won't measure any dynamic stack allocations that we're doing
at runtime, nor will it test all n combinations of drivers, which
is where most of the stack horrors have been found in recent times.

Dave

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