On Sun, 14 Jun 2009 14:22:23 -0700
Sam Leffler <s...@freebsd.org> wrote:

> Ed Schouten wrote:
> > Author: ed
> > Date: Sun Jun 14 18:01:35 2009
> > New Revision: 194204
> > URL: http://svn.freebsd.org/changeset/base/194204
> > 
> > Log:
> >   Enable PRINTF_BUFR_SIZE on i386 and amd64 by default.
> >   
> >   In the past there have been some reports of PRINTF_BUFR_SIZE not
> >   functioning correctly. Instead of having garbled console messages, we
> >   should just see whether the issues are still there and analyze them.
> >   
> 
> When I suggested enabling this by default for SMP configurations I was
> reminded it wasn't enabled because of potential stack overflow.
> 

I've been using this for years and have yet to see a stack overflow.

As a rule, kernel printf's seem to be short enough that a value
of 128 is sufficient and doesn't result in stack pressure.

---
Gary Jennejohn
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to