Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932746AbbLBQWV (ORCPT ); Wed, 2 Dec 2015 11:22:21 -0500 Received: from smtp-out6.electric.net ([192.162.217.193]:62026 "EHLO smtp-out6.electric.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbbLBQWT (ORCPT ); Wed, 2 Dec 2015 11:22:19 -0500 From: David Laight To: "'yalin wang'" , Petr Mladek CC: "linux-mips@linux-mips.org" , Daniel Thompson , Jiri Kosina , "linux-cris-kernel@axis.com" , "linux-s390@vger.kernel.org" , Peter Zijlstra , "x86@kernel.org" , linux-kernel , Steven Rostedt , "adi-buildroot-devel@lists.sourceforge.net" , Ingo Molnar , "linux-sh@vger.kernel.org" , "sparclinux@vger.kernel.org" , Russell King , Andrew Morton , "linuxppc-dev@lists.ozlabs.org" , "Thomas Gleixner" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [PATCH v2 5/5] printk/nmi: Increase the size of the temporary buffer Thread-Topic: [PATCH v2 5/5] printk/nmi: Increase the size of the temporary buffer Thread-Index: AQHRLMHRY5g5WKb0eUmhIi5CGO67i563383w Date: Wed, 2 Dec 2015 16:20:41 +0000 Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1CBE1231@AcuExch.aculab.com> References: <1448622572-16900-1-git-send-email-pmladek@suse.com> <1448622572-16900-6-git-send-email-pmladek@suse.com> <81211733-2484-40A9-9D4A-644AA27FBC73@gmail.com> In-Reply-To: <81211733-2484-40A9-9D4A-644AA27FBC73@gmail.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.99.200] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-Outbound-IP: 213.249.233.130 X-Env-From: David.Laight@ACULAB.COM X-PolicySMART: 3396946, 3397078 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tB2GMP0n005566 Content-Length: 641 Lines: 16 From: yalin wang > Sent: 30 November 2015 16:42 > > On Nov 27, 2015, at 19:09, Petr Mladek 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 ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?