[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091019125017.GA9030@elte.hu>
Date: Mon, 19 Oct 2009 14:50:17 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Artem Bityutskiy <dedekind1@...il.com>
Cc: Simon Kagstrom <simon.kagstrom@...insight.net>,
linux-mtd <linux-mtd@...ts.infradead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
David Woodhouse <dwmw2@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
"Koskinen Aaro (Nokia-D/Helsinki)" <aaro.koskinen@...ia.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: [PATCH v11 4/5] core: Add kernel message dumper to call on
oopses and panics
* Artem Bityutskiy <dedekind1@...il.com> wrote:
> On Fri, 2009-10-16 at 14:09 +0200, Simon Kagstrom wrote:
> > The core functionality is implemented as per Linus suggestion from
> >
> > http://lists.infradead.org/pipermail/linux-mtd/2009-October/027620.html
> >
> > (with the kmsg_dump implementation by Linus). A struct kmsg_dumper has
> > been added which contains a callback to dump the kernel log buffers on
> > crashes. The kmsg_dump function gets called from oops_exit() and panic()
> > and invokes this callbacks with the crash reason.
> >
> > Signed-off-by: Simon Kagstrom <simon.kagstrom@...insight.net>
> > Reviewed-by: Anders Grafstrom <anders.grafstrom@...insight.net>
> > Reviewed-by: Ingo Molnar <mingo@...e.hu>
> > ---
> > The bikeshed paint is drying:
> >
> > ChangeLog:
> > * (Ingo Molnar): Flatten lock use
> > * (Artem, Aaro): Fix style issues
> >
> > include/linux/kmsg_dump.h | 44 ++++++++++++++++++
> > kernel/panic.c | 3 +
> > kernel/printk.c | 112 +++++++++++++++++++++++++++++++++++++++++++++
> > 3 files changed, 159 insertions(+), 0 deletions(-)
> > create mode 100644 include/linux/kmsg_dump.h
>
> I wonder, via which tree this should go in. We are going to have mtdoops
> depend on this. Should we go one of these ways:
>
> * this patch goes to one of Ingo's tip trees, so we can pull it and
> work on top.
> * we have Ingo's / Linus' acks, and this goes via the MTD tree.
> ?
Either way is good to me. Linus, do you have any preferences?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists