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

2007-05-10 Thread Jeff Dike
On Wed, May 09, 2007 at 09:07:38PM -0700, Andrew Morton wrote: > but, but. We already have CONFIG_DEBUG_STACK_USAGE? Whoops, that's not exactly what I want, but it's close enough to let me throw out some code. Drop that and I'll send a fixed version. Jeff --

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

2007-05-10 Thread Jeff Dike
On Wed, May 09, 2007 at 09:07:38PM -0700, Andrew Morton wrote: but, but. We already have CONFIG_DEBUG_STACK_USAGE? Whoops, that's not exactly what I want, but it's close enough to let me throw out some code. Drop that and I'll send a fixed version. Jeff --

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

2007-05-09 Thread Andrew Morton
On Wed, 9 May 2007 16:27:22 -0400 Jeff Dike <[EMAIL PROTECTED]> 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

[PATCH 5/6] UML - Monitor stack usage

2007-05-09 Thread Jeff Dike
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. The lowest values

[PATCH 5/6] UML - Monitor stack usage

2007-05-09 Thread Jeff Dike
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. The lowest values

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

2007-05-09 Thread Andrew Morton
On Wed, 9 May 2007 16:27:22 -0400 Jeff Dike [EMAIL PROTECTED] 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