Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755277AbYBORDX (ORCPT ); Fri, 15 Feb 2008 12:03:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751473AbYBORDP (ORCPT ); Fri, 15 Feb 2008 12:03:15 -0500 Received: from waste.org ([66.93.16.53]:34732 "EHLO waste.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751292AbYBORDO (ORCPT ); Fri, 15 Feb 2008 12:03:14 -0500 Subject: Re: [PATCH] Configure out doublefault exception handler (Linux Tiny) From: Matt Mackall To: Andi Kleen Cc: Thomas Petazzoni , Sam Ravnborg , Linux-tiny@selenic.com, Andrew Morton , linux-kernel@vger.kernel.org, "H. Anvin" , Ingo Molnar , Thomas Gleixner In-Reply-To: References: <20080212110825.35db27cb@crazy> <20080212130428.GA32757@uranus.ravnborg.org> <20080212150013.57cb954e@crazy> <1202832132.12383.93.camel@cinder.waste.org> Content-Type: text/plain Date: Fri, 15 Feb 2008 11:02:16 -0600 Message-Id: <1203094937.12383.212.camel@cinder.waste.org> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1333 Lines: 31 On Fri, 2008-02-15 at 13:00 +0100, Andi Kleen wrote: > Matt Mackall writes: > > > > I bet there's some doublefault-handling code hiding somewhere. It's not > > the sort of thing it'd make sense to take out of the architecture. > > The big question is if it makes sense taking out of a kernel at all. > I still think the answer is no. > > Or have you considered replacing die() and show_trace() etc. with a single > panic("the tiny gods say this won't happen") yet? That would be roughly > equivalent. It's not a matter of "won't happen" so much as "not a damn thing we can do when it does". There's very little point in having this sort of code in a mass-market camera, phone, DVR, TV, etc. (of which there are already millions running Linux). These devices have no console and basically zero serviceability beyond firmware upgrades. If taking these vestigial debugging features out means we can cram in more features that consumers can actually see and will pay for, that's precisely what's going to happen. -- Mathematics is the supreme nostalgia of our time. -- 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/