Messages in this thread | | | Date | Mon, 30 Nov 2009 10:54:51 +0100 | From | Jörn Engel <> | Subject | Re: [PATCH/RFC v5 4/5]: core: Add dump device to call on oopses and panics |
| |
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/
| |