Add generic exit-time stack-depth checking to CONFIG_DEBUG_STACK_USAGE
authorJeff Dike <jdike@addtoit.com>
Mon, 16 Jul 2007 06:38:48 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:38 +0000 (09:05 -0700)
commite18eecb8b35703a5eea73ee2b45324262029e62c
tree8c276ae6633b8116ca366274091b00491fd50bbe
parent84812217e395f5272eac36856c0a2415d61fe139
Add generic exit-time stack-depth checking to CONFIG_DEBUG_STACK_USAGE

Add generic exit-time stack-depth checking to CONFIG_DEBUG_STACK_USAGE.

This also adds UML support.

Tested on UML and i386.

[akpm@linux-foundation.org: cleanups, speedups, tweaks]
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/Kconfig.debug
arch/um/defconfig
include/asm-um/thread_info.h
kernel/exit.c