Messages in this thread | | | Date | Fri, 28 Dec 2007 17:13:12 -0800 | From | Randy Dunlap <> | Subject | Re: [2.6.23(?)=<] X used greatest stack depth: N bytes left |
| |
On Sat, 29 Dec 2007 01:58:44 +0100 Oliver Pinter (Pintér Olivér) wrote:
> On 12/29/07, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > On Fri, 28 Dec 2007 22:11:25 +0100 Oliver Pinter (Pintér Olivér) wrote: > > > > > in newer kernel I recently see this warnings: > > > > > > X used greatest stack depth: N bytes left > > > > > > X E { program name } > > > N E { x byte } > > > > > > ----------------8<-------------- > > > ... > > > khelper used greatest stack depth: 7496 bytes left > > > khelper used greatest stack depth: 7184 bytes left > > > ... > > > khelper used greatest stack depth: 6328 bytes left > > > stty used greatest stack depth: 6180 bytes left > > > mount used greatest stack depth: 6156 bytes left > > > mknod used greatest stack depth: 5932 bytes left > > > ... > > > wpa_supplicant used greatest stack depth: 5740 bytes left > > > ... > > > dhclient3 used greatest stack depth: 5500 bytes left > > > ----------------8<-------------- > > > > > > it is the "results" of the CONFIG_DEBUG_STACKOVERFLOW=y > > > CONFIG_DEBUG_STACK_USAGE=y options or it's other problem or feature? > > > > CONFIG_DEBUG_STACK_USAGE, in kernel/exit.c: > > > > --- > > sure, but to 2.6.22 or 2.6.23-rcX (with merged the cfs scheduler) > don't show this warnings, but the CONFIG_DEBUG_STACK_USAGE is enabled.
Sorry, I couldn't tell that you were asking more than that.
In 2.6.22, CONFIG_DEBUG_STACK_USAGE only causes output during sysrq-W (show blocked state).
In 2.6.24-rc, CONFIG_DEBUG_STACK_USAGE also causes output during process exit, which is what you are seeing.
Does that help?
--- ~Randy desserts: http://www.xenotime.net/linux/recipes/ -- 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/
| |