Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

From: Steven Rostedt
Date: Wed Feb 01 2017 - 11:42:00 EST


On Wed, 1 Feb 2017 17:15:41 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> So my kernel doesn't yet have that abomination; that redirects it to a
> buffer for later printing right? I hope that buffer is big enough to
> hold a full WARN splat and the machine lives long enough to make it to
> printing that crap.


By default the buffer is 8K (minus 3 * sizeof(long)). But there's a
config option to grow it up to 128K if you like.

-- Steve