From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.230] helo=mgw-mx03.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1MxdCL-0003iW-9h for linux-mtd@lists.infradead.org; Tue, 13 Oct 2009 08:57:41 +0000 Subject: Re: [PATCH] panic.c: export panic_on_oops From: Artem Bityutskiy To: Simon Kagstrom In-Reply-To: <20091013095805.477f1928@marrow.netinsight.se> 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> <20091013095805.477f1928@marrow.netinsight.se> Content-Type: text/plain; charset="UTF-8" Date: Tue, 13 Oct 2009 11:57:01 +0300 Message-Id: <1255424221.32489.9.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Linus Torvalds , LKML , "Koskinen Aaro \(Nokia-D/Helsinki\)" , linux-mtd , Ingo Molnar , David Woodhouse , Andrew Morton , Alan Cox Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2009-10-13 at 09:58 +0200, Simon Kagstrom wrote: > 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. Yeah, I think it is good idea to work on a generic support, and simplify mtdoops. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)