svn commit: r194204 - in head/sys: amd64/conf i386/conf
Sam Leffler
sam at freebsd.org
Mon Jun 15 00:49:44 UTC 2009
Bruce Evans wrote:
> On Sun, 14 Jun 2009, Sam Leffler wrote:
>
>>> 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.
>
> Stack overflow shouldn't be a problem, since printf shouldn't be called
> recursively.
You don't need recursion to overflow the stack. I'd love to see someone
properly lock printf/console output instead of kludges like
PRINTF_BUFR_SIZE.
Sam
More information about the svn-src-all
mailing list