Re: [PATCH 5/6] UML - Monitor stack usage

From: Andrew Morton
Date: Thu May 10 2007 - 00:08:16 EST


On Wed, 9 May 2007 16:27:22 -0400 Jeff Dike <jdike@xxxxxxxxxxx> wrote:

> In preparation for reducing stack size, add a machanism to see how
> much of a kernel stack is used. This fills a new stack with 0x6b on
> allocation and sees where the lowest non-0x6b byte is on process
> exit. It keeps track of the lowest value and logs values as they get
> lower.

but, but. We already have CONFIG_DEBUG_STACK_USAGE?
-
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/