Messages in this thread | | | Date | Tue, 19 Jun 2007 11:54:22 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH 2/2] UML - Add stack usage monitoring |
| |
On Tue, 19 Jun 2007 14:42:45 -0400 Jeff Dike <jdike@addtoit.com> wrote:
> Add a machanism to see how much of a kernel stack is used. This > allocates zeroed stacks and sees where the lowest non-zero byte is on > process exit. It keeps track of the lowest value and logs values as > they get lower. >
remind us again why the generic code is unsuitable?
> + for(p = stack; p < end; p++){ > + if(*p != 0) > + if(left < lowest_to_date){
Are there any plans to fix UML coding style? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |