svn commit: r194204 - in head/sys: amd64/conf i386/conf
Ed Schouten
ed at 80386.nl
Mon Jun 15 06:24:00 UTC 2009
Hi Bruce,
* Bruce Evans <brde at optusnet.com.au> wrote:
> I wouldn't use an implementation anything like FreeBSD's. printf()s
> must be serialized, and once printf() is serialized there is no need
> for buffering or cnputs().
Indeed. Just adding some synchronisation to printf() should also work
and is in my opinion the best solution. printf() should only be called
in exceptional cases, so taking the overhead of locking shouldn't really
matter there.
Unfortunately I am not planning on fixing this before the code freeze.
PRINTF_BUFR_SIZE really isn't beautiful, but it should be good enough
for now.
To be continued.
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20090615/1b85a378/attachment.pgp
More information about the svn-src-head
mailing list