[PATCH 0/3]: mtdoops fixes and improvements

Simon Kagstrom
2009-10-02T14:05:24Z

Hi!

Here are a couple of patches to mtdoops which I've been working on for
a while. The patches are:

1. Make page size configurable (to support longer messages)

2. Use panic_write if panic_on_oops is set. This is essentially the
same as Aaro sent earlier today (funny coincidence!), but contains
some other fixes around the same area. This unbreaks the case when
panic_on_oops is set.

3. Store all kernel messages in a circular buffer. This changes the
behavior of mtdoops a bit by constantly recording messages (not only
on oopses), which are written out on oopses and panics.

The code is changed to register a panic handler which calls the
write function.

// Simon