Re: [PATCH/RFC v5 4/5]: core: Add dump device to call on oopses and panics

Jörn Engel
2009-11-30T09:55:07Z

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