WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xen: increase static dmesg buffer to 64K

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xen: increase static dmesg buffer to 64K
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Sun, 17 Jul 2011 17:43:23 +0200
Delivery-date: Sun, 17 Jul 2011 08:44:19 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1310917409; l=968; s=domk; d=aepfle.de; h=To:From:Date:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:X-RZG-CLASS-ID:X-RZG-AUTH; bh=abqeuEGlYinoUzTEB8jk94abMcQ=; b=GpZ8lUst8jEKSpV/k7Tk3wze67yOS8DqPYTXUzsWoF8A6qbLZrlNC99ee6xIRBKFOt9 Eu8cs5EdeZTdkEUexgwJ8xUjgcJ5JUw01/RWAT0Q1xQOMDP3Dt8Zz2/jRxmirLBMpefG5 fUT+YmYsiK2u4Lre5qxz5vLGOVZyGu4UN00=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1310917380 -7200
# Node ID c6cade90d47f32e19f529930ba9f9acfa69f065f
# Parent  31dd84463eece20bd01c7aee22b52a0c06c67545
xen: increase static dmesg buffer to 64K

On large systems the static dmesg buffer will overflow the 16K buffer, early
messages are lost. Increase the size to 64K to capture all lines on systems
without serial console.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r 31dd84463eec -r c6cade90d47f xen/drivers/char/console.c
--- a/xen/drivers/char/console.c
+++ b/xen/drivers/char/console.c
@@ -53,7 +53,7 @@ boolean_param("console_timestamps", opt_
 static uint32_t __initdata opt_conring_size;
 size_param("conring_size", opt_conring_size);
 
-#define _CONRING_SIZE 16384
+#define _CONRING_SIZE (64 * 1024)
 #define CONRING_IDX_MASK(i) ((i)&(conring_size-1))
 static char __initdata _conring[_CONRING_SIZE];
 static char *__read_mostly conring = _conring;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel