[PATCH v2 5/5] printk/nmi: Increase the size of the temporary buffer

David Laight David.Laight at ACULAB.COM
Wed Dec 2 08:20:41 PST 2015


From: yalin wang
> Sent: 30 November 2015 16:42
> > On Nov 27, 2015, at 19:09, Petr Mladek <pmladek at suse.com> 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



More information about the linux-arm-kernel mailing list