From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758230AbXJaOVl (ORCPT ); Wed, 31 Oct 2007 10:21:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755303AbXJaOVc (ORCPT ); Wed, 31 Oct 2007 10:21:32 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:56830 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755745AbXJaOVb (ORCPT ); Wed, 31 Oct 2007 10:21:31 -0400 Date: Wed, 31 Oct 2007 07:19:07 -0700 From: Arjan van de Ven To: Steven Rostedt Cc: LKML , Linus Torvalds , Andrew Morton , Ingo Molnar , Christoph Hellwig , Daniel Walker Subject: Re: [PATCH] dump_stack on panic Message-ID: <20071031071907.2d1b02ed@laptopd505.fenrus.org> In-Reply-To: <1193788979.5623.43.camel@localhost.localdomain> References: <1193788979.5623.43.camel@localhost.localdomain> Organization: Intel X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Oct 2007 20:02:59 -0400 Steven Rostedt wrote: > Is there any reason why we don't do a dump_stack on panic? panic() should never be used for kernel type of bugs, that's what BUG_ON() is for. panic() tends to be for "your cpu melted" and "you don't have a root fs".. nothing else. for both of those cases, a stack trace actually hurts because it scrolls the useful information off the screen instead.