RE: [PATCH v2 5/5] printk/nmi: Increase the size of the temporary buffer
From: David Laight
Date: Wed Dec 02 2015 - 11:22:24 EST
From: yalin wang
> Sent: 30 November 2015 16:42
> > On Nov 27, 2015, at 19:09, Petr Mladek <pmladek@xxxxxxxx> wrote:
> >
> > Testing has shown that the backtrace sometimes does not fit
> > into the 4kB temporary buffer that is used in NMI context.
> >
> > The warnings are gone when I double the temporary buffer size.
You are wasting a lot of memory for something that is infrequently used.
There ought to be some way of copying partial tracebacks into the
main buffer.
David