From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759122AbZJMH67 (ORCPT ); Tue, 13 Oct 2009 03:58:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759105AbZJMH66 (ORCPT ); Tue, 13 Oct 2009 03:58:58 -0400 Received: from ernst.netinsight.se ([194.16.221.21]:38262 "HELO ernst.netinsight.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759086AbZJMH66 (ORCPT ); Tue, 13 Oct 2009 03:58:58 -0400 Date: Tue, 13 Oct 2009 09:58:05 +0200 From: Simon Kagstrom To: Linus Torvalds Cc: Ingo Molnar , Andrew Morton , Artem Bityutskiy , David Woodhouse , LKML , "Koskinen Aaro (Nokia-D/Helsinki)" , linux-mtd , Alan Cox Subject: Re: [PATCH] panic.c: export panic_on_oops Message-ID: <20091013095805.477f1928@marrow.netinsight.se> In-Reply-To: References: <20091012113758.GB11035@elte.hu> <20091012140149.6789efab@marrow.netinsight.se> <20091012120951.GA16799@elte.hu> <1255349748.10605.13.camel@macbook.infradead.org> <20091012122023.GA19365@elte.hu> <20091012150650.51a4b4dc@marrow.netinsight.se> <20091012131528.GC25464@elte.hu> <20091012153937.0dcd73e5@marrow.netinsight.se> <20091012110954.67d7d8d8.akpm@linux-foundation.org> <20091012182346.GH17138@elte.hu> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Oct 2009 11:45:15 -0700 (PDT) Linus Torvalds wrote: > So the logic should literally be something like this: > > - kernel/printk.c: > > void dump_kmsg(void) > { > unsigned long len = ACCESS_ONCE(log_end); OK, I'll get back with a few patches that does this later today. // Simon