Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753881AbZK3JzB (ORCPT ); Mon, 30 Nov 2009 04:55:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753405AbZK3JzB (ORCPT ); Mon, 30 Nov 2009 04:55:01 -0500 Received: from lazybastard.de ([212.112.238.170]:50908 "EHLO longford.logfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753027AbZK3JzA (ORCPT ); Mon, 30 Nov 2009 04:55:00 -0500 Date: Mon, 30 Nov 2009 10:54:51 +0100 From: =?utf-8?B?SsO2cm4=?= Engel To: Artem Bityutskiy Cc: Simon Kagstrom , Linus Torvalds , linux-mtd , LKML , "Koskinen Aaro (Nokia-D/Helsinki)" , Ingo Molnar , David Woodhouse , Andrew Morton , Alan Cox Subject: Re: [PATCH/RFC v5 4/5]: core: Add dump device to call on oopses and panics Message-ID: <20091130095451.GA15335@logfs.org> References: <20091012182346.GH17138@elte.hu> <20091013151751.59e217a7@marrow.netinsight.se> <20091013152235.188059d2@marrow.netinsight.se> <20091126093657.GA25430@logfs.org> <1259566071.7518.48.camel@localhost> <20091130074603.GA30911@logfs.org> <1259571118.7518.56.camel@localhost> <20091130093541.GA14254@logfs.org> <1259574055.7518.80.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1259574055.7518.80.camel@localhost> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 856 Lines: 21 On Mon, 30 November 2009 11:40:55 +0200, Artem Bityutskiy wrote: > > The other alternative I was thinking about was to introduce a boolean > flag, and set it to one as soon as 'lon_end' becomes larger than > 'log_buf_len'. I've thought about that as well. The drawback is that we would have to check in the regular printk path - by the time the panic notifier is running it is too late. So it adds cost to the regular case. Jörn -- There are three principal ways to lose money: wine, women, and engineers. While the first two are more pleasant, the third is by far the more certain. -- Baron Rothschild -- 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/