Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Double size of MSGBUFSIZE as existing value is not ...
details: https://anonhg.NetBSD.org/src/rev/b4b32baa4a3a
branches: trunk
changeset: 359648:b4b32baa4a3a
user: sborrill <sborrill%NetBSD.org@localhost>
date: Mon Feb 19 13:02:47 2018 +0000
description:
Double size of MSGBUFSIZE as existing value is not big enough to hold boot dmesg
on modern server-class hardware with lots of CPUs, etc.
diffstat:
sys/arch/amd64/include/param.h | 4 ++--
sys/arch/i386/include/param.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 7a09d12cc622 -r b4b32baa4a3a sys/arch/amd64/include/param.h
--- a/sys/arch/amd64/include/param.h Mon Feb 19 10:31:53 2018 +0000
+++ b/sys/arch/amd64/include/param.h Mon Feb 19 13:02:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.23 2018/01/11 10:30:26 maxv Exp $ */
+/* $NetBSD: param.h,v 1.24 2018/02/19 13:02:47 sborrill Exp $ */
#ifdef __x86_64__
@@ -65,7 +65,7 @@
#define USPACE (UPAGES * NBPG) /* total size of u-area */
#ifndef MSGBUFSIZE
-#define MSGBUFSIZE (8*NBPG) /* default message buffer size */
+#define MSGBUFSIZE (16*NBPG) /* default message buffer size */
#endif
/*
diff -r 7a09d12cc622 -r b4b32baa4a3a sys/arch/i386/include/param.h
--- a/sys/arch/i386/include/param.h Mon Feb 19 10:31:53 2018 +0000
+++ b/sys/arch/i386/include/param.h Mon Feb 19 13:02:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.82 2017/07/29 13:05:15 maxv Exp $ */
+/* $NetBSD: param.h,v 1.83 2018/02/19 13:02:47 sborrill Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -108,7 +108,7 @@
#define INTRSTACKSIZE 8192
#ifndef MSGBUFSIZE
-#define MSGBUFSIZE (8*NBPG) /* default message buffer size */
+#define MSGBUFSIZE (16*NBPG) /* default message buffer size */
#endif
/*
Home |
Main Index |
Thread Index |
Old Index