Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754171AbYCPX7u (ORCPT ); Sun, 16 Mar 2008 19:59:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752609AbYCPX7k (ORCPT ); Sun, 16 Mar 2008 19:59:40 -0400 Received: from mx1.redhat.com ([66.187.233.31]:34768 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752546AbYCPX7k (ORCPT ); Sun, 16 Mar 2008 19:59:40 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Oleg Nesterov X-Fcc: ~/Mail/linus Cc: Andrew Morton , Davide Libenzi , "Eric W. Biederman" , Ingo Molnar , Laurent Riffard , Pavel Emelyanov , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] don't panic if /sbin/init exits or killed In-Reply-To: Oleg Nesterov's message of Monday, 17 March 2008 02:49:29 +0300 <20080316234929.GA456@tv-sign.ru> References: <20080316155453.GA20845@tv-sign.ru> <20080316221938.D217026F995@magilla.localdomain> <20080316230346.GA379@tv-sign.ru> <20080316233242.DC9E226F995@magilla.localdomain> <20080316234929.GA456@tv-sign.ru> X-Windows: the joke that kills. Message-Id: <20080316235934.22B8626F9E9@magilla.localdomain> Date: Sun, 16 Mar 2008 16:59:33 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 531 Lines: 14 > Ah, OK. We can change this to dump_stack() without BUG(). I'm not sure that's a whole lot better as far as confusion. And what use is it? You know init exited. Just print its exit_code and/or group_exit_code and you know what kind of kernel entry the exit was. Thanks, Roland -- 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/