From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18723.38125.245930.196074@cargo.ozlabs.ibm.com> Date: Wed, 19 Nov 2008 15:24:13 +1100 From: Paul Mackerras To: Johannes Berg Subject: Re: [PATCH] powerpc: allow configuring max stack dump depth In-Reply-To: <1225534317.3560.8.camel@johannes.berg> References: <1225534317.3560.8.camel@johannes.berg> Cc: linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Johannes Berg writes: > On my screen, when something crashes, I only have space for maybe > 16 functions of the stack trace before the information above it > scrolls off the screen. It's easy to hack the kernel to print out > only that much, but it's harder to remember to do it. This patch > introduces a config option for it so that I can keep the setting > in my config. Could you make it depend on DEBUG_KERNEL or ADVANCED or something? > + help > + This option allows you to set the stack depth that the kernel > + prints out in case your display is too small. The "in case" is a little ambiguous here. I suggest: + This option allows you to set the maximum depth that the kernel + prints in stack traces. This can be useful if your display + is too small. Paul.