summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2011-01-21 10:26:26 +0000
committerpluknet <pluknet@FreeBSD.org>2011-01-21 10:26:26 +0000
commit5f536fc1d3dfb28e75a18d60bddcfacdf3f22617 (patch)
tree7eea8c732d50e7ebda3498e40f7ccad228cc1453 /sys/boot
parent8309d738784bb61d488dbea96837e5d407437cfc (diff)
downloadFreeBSD-src-5f536fc1d3dfb28e75a18d60bddcfacdf3f22617.zip
FreeBSD-src-5f536fc1d3dfb28e75a18d60bddcfacdf3f22617.tar.gz
Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize.
Submitted by: perryh pluto.rain.com (previous version) Reviewed by: jhb Approved by: kib (mentor) Tested by: universe
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/loader.88
-rw-r--r--sys/boot/forth/loader.conf1
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8
index 56c5199..94b4e6a 100644
--- a/sys/boot/common/loader.8
+++ b/sys/boot/common/loader.8
@@ -609,6 +609,14 @@ Note that
the NBUF parameter will override this limit.
Modifies
.Dv VM_BCACHE_SIZE_MAX .
+.It Va kern.msgbufsize
+Sets the size of the kernel message buffer.
+The default limit of 64KB is usually sufficient unless
+large amounts of trace data need to be collected
+between opportunities to examine the buffer or
+dump it to a file.
+Overrides kernel option
+.Dv MSGBUF_SIZE .
.It Va machdep.disable_mtrrs
Disable the use of i686 MTRRs (x86 only).
.It Va net.inet.tcp.tcbhashsize
diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf
index ee60bae..785c6a3 100644
--- a/sys/boot/forth/loader.conf
+++ b/sys/boot/forth/loader.conf
@@ -99,6 +99,7 @@ module_path="/boot/modules" # Set the module search path
#kern.maxswzone="" # Set the max swmeta KVA storage
#kern.maxtsiz="" # Set the max text size
#kern.maxusers="32" # Set size of various static tables
+#kern.msgbufsize="" # Set size of kernel message buffer
#kern.nbuf="" # Set the number of buffer headers
#kern.ncallout="" # Set the maximum # of timer events
#kern.ngroups="1023" # Set the maximum # of supplemental groups
OpenPOWER on IntegriCloud