]> git.hungrycats.org Git - linux/commit
[PATCH] Fix the display of max-ever-used-stack in sysrq-T output
authorAndrew Morton <akpm@osdl.org>
Thu, 19 Feb 2004 13:41:53 +0000 (05:41 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 19 Feb 2004 13:41:53 +0000 (05:41 -0800)
commit416cd06a92c7f8f739ac883b6ab23f1301575d54
treeb75f9c18eddb0d7fd32116cc87344b9ec1af1b9f
parentd7790f206ca8f0e5e5f0c6b7dbd8794293903e62
[PATCH] Fix the display of max-ever-used-stack in sysrq-T output

The sysrq-T output currently tries to display the mimimum amount of free
stack which each task has ever had available.  It has been busted for years,
because we forgot to zero out the stack when it is first created.

Fix that up, adding a conig option for it.

If the option is disabled, or the arch is not x86 then the free stack usage
will display as zero.
arch/i386/Kconfig
include/asm-i386/thread_info.h
kernel/sched.c