Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 May 2010 15:34:05 -0700
From:      Matthew Jacob <mj@feral.com>
To:        hackers@freebsd.org
Cc:        ed@freebsd.org
Subject:   making consmsgbuf_size a tunable?
Message-ID:  <4BDDFDDD.6060208@feral.com>

next in thread | raw e-mail | index | archive | help
Any thoughts about this?

diff -r 5308a7cebc7d sys/kern/kern_cons.c
--- a/sys/kern/kern_cons.c      Thu Apr 29 19:55:46 2010 -0700
+++ b/sys/kern/kern_cons.c      Sun May 02 15:32:24 2010 -0700
@@ -428,6 +428,7 @@
  }

  static int consmsgbuf_size = 8192;
+TUNABLE_INT("kern.consmsgbuf_size", &consmsgbuf_size);
  SYSCTL_INT(_kern, OID_AUTO, consmsgbuf_size, CTLFLAG_RW, 
&consmsgbuf_size, 0,
      "");





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BDDFDDD.6060208>