mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] making the printk buffer bigger
@ 2001-10-22 23:24 Martin J. Bligh
  2001-10-30  0:25 ` Martin J. Bligh
  0 siblings, 1 reply; 6+ messages in thread
From: Martin J. Bligh @ 2001-10-22 23:24 UTC (permalink / raw)
  To: Linus Torvalds, Alan Cox; +Cc: linux-kernel mailing list

For larger machines, 16K isn't big enough to hold all the boot
messages - which means some of the earlier boot messages don't 
make it to the log files.

Could you add this tiny patch to fix it?

Thanks,

Martin.

diff -urN virgin-2.4.13-pre2/kernel/printk.c linux-2.4.13-pre2/kernel/printk.c
--- virgin-2.4.13-pre2/kernel/printk.c	Mon Sep 17 13:16:30 2001
+++ linux-2.4.13-pre2/kernel/printk.c	Mon Oct 15 13:15:37 2001
@@ -27,7 +27,12 @@
 
 #include <asm/uaccess.h>
 
-#define LOG_BUF_LEN	(16384)			/* This must be a power of two */
+#ifdef CONFIG_SMP
+#define LOG_BUF_LEN	(65536)		/* This must be a power of two */
+#else
+#define LOG_BUF_LEN	(16384)		/* This must be a power of two */
+#endif
+
 #define LOG_BUF_MASK	(LOG_BUF_LEN-1)
 
 /* printk's without a loglevel use this.. */



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-10-31 17:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-22 23:24 [PATCH] making the printk buffer bigger Martin J. Bligh
2001-10-30  0:25 ` Martin J. Bligh
2001-10-30 13:14   ` Maciej W. Rozycki
2001-10-30 18:19     ` Martin J. Bligh
2001-10-31 11:31       ` Maciej W. Rozycki
2001-10-31 17:03         ` Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®