svn commit: r194204 - in head/sys: amd64/conf i386/conf

Gary Jennejohn gary.jennejohn at freenet.de
Mon Jun 15 07:53:56 UTC 2009


On Sun, 14 Jun 2009 14:22:23 -0700
Sam Leffler <sam at 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


More information about the svn-src-all mailing list