Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 09:53:51 +0200
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        Sam Leffler <sam@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Ed Schouten <ed@freebsd.org>
Subject:   Re: svn commit: r194204 - in head/sys: amd64/conf i386/conf
Message-ID:  <20090615095351.42d823c1@ernst.jennejohn.org>
In-Reply-To: <4A356A0F.3050800@freebsd.org>
References:  <200906141801.n5EI1Zti056239@svn.freebsd.org> <4A356A0F.3050800@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Jun 2009 14:22:23 -0700
Sam Leffler <sam@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



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