summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2019-12-23 21:42:02 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2019-12-23 21:42:02 +0000
commit65ed1958adb148e68a411bf35991e10487f30364 (patch)
tree65a04b7817ce4ac57906f3ef90bace1bc5b3d2ed /sys
parentec3654dd89434c87f569705509533d6f9354f0a0 (diff)
Machines with many CPUs and long feature lists fill up the dmesg(8)
during kernel startup before syslogd(8) can receive it. Increase message buffer size from 94k to 128k on amd64. reported by Hrvoje Popovski; OK deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h
index ff9a4088a63..2d2d5e66c21 100644
--- a/sys/arch/amd64/include/param.h
+++ b/sys/arch/amd64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.27 2019/01/24 00:16:15 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.28 2019/12/23 21:42:01 bluhm Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -70,7 +70,7 @@
#define NMBCLUSTERS (256 * 1024) /* max cluster allocation */
#ifndef MSGBUFSIZE
-#define MSGBUFSIZE (24 * PAGE_SIZE) /* default message buffer size */
+#define MSGBUFSIZE (32 * PAGE_SIZE) /* default message buffer size */
#endif
/*