Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755780AbXL2BNo (ORCPT ); Fri, 28 Dec 2007 20:13:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753431AbXL2BNY (ORCPT ); Fri, 28 Dec 2007 20:13:24 -0500 Received: from agminet01.oracle.com ([141.146.126.228]:14052 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753277AbXL2BNW convert rfc822-to-8bit (ORCPT ); Fri, 28 Dec 2007 20:13:22 -0500 Date: Fri, 28 Dec 2007 17:13:12 -0800 From: Randy Dunlap To: =?ISO-8859-1?Q? "Oliver_Pinter_(Pint=E9r_Oliv=E9r)" ?= Cc: linux-kernel@vger.kernel.org Subject: Re: [2.6.23(?)=<] X used greatest stack depth: N bytes left Message-Id: <20071228171312.baa0776b.randy.dunlap@oracle.com> In-Reply-To: <6101e8c40712281658i2ac7a27du4b0964afd043280e@mail.gmail.com> References: <6101e8c40712281311p446f64e1xb28f8fc273545041@mail.gmail.com> <20071228153258.bef76bb2.randy.dunlap@oracle.com> <6101e8c40712281658i2ac7a27du4b0964afd043280e@mail.gmail.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.4.7 (GTK+ 2.8.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1895 Lines: 55 On Sat, 29 Dec 2007 01:58:44 +0100 Oliver Pinter (Pint?r Oliv?r) wrote: > On 12/29/07, Randy Dunlap 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/