Re: making consmsgbuf_size a tunable?

2010-05-03 Thread Ed Schouten
Hello Matthew, * Matthew Jacob m...@feral.com wrote: Any thoughts about this? Looks good. Maybe we should make it a tunable only? Looking at the code, once the consbuf has been allocated, there is no way you can ever resize it. -- Ed Schouten e...@80386.nl WWW: http://80386.nl/

Re: making consmsgbuf_size a tunable?

2010-05-03 Thread Matthew Jacob
On 05/03/2010 12:21 AM, Ed Schouten wrote: Hello Matthew, * Matthew Jacobm...@feral.com wrote: Any thoughts about this? Looks good. Maybe we should make it a tunable only? Looking at the code, once the consbuf has been allocated, there is no way you can ever resize it. You

making consmsgbuf_size a tunable?

2010-05-02 Thread Matthew Jacob
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,