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

From: JÃrn Engel
Date: Mon Nov 30 2009 - 04:55:15 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/