making consmsgbuf_size a tunable?

Matthew Jacob mj at feral.com
Sun May 2 22:44:37 UTC 2010


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,
      "");




More information about the freebsd-hackers mailing list