Date: Mon, 15 Jun 2009 08:23:58 +0200 From: Ed Schouten <ed@80386.nl> To: Bruce Evans <brde@optusnet.com.au> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, Sam Leffler <sam@FreeBSD.org>, src-committers@FreeBSD.org Subject: Re: svn commit: r194204 - in head/sys: amd64/conf i386/conf Message-ID: <20090615062358.GR48776@hoeg.nl> In-Reply-To: <20090615075134.K24645@delplex.bde.org> References: <200906141801.n5EI1Zti056239@svn.freebsd.org> <4A356A0F.3050800@freebsd.org> <20090615075134.K24645@delplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--K9fR5eBdO1VxXkhU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Bruce, * Bruce Evans <brde@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().=20 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. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --K9fR5eBdO1VxXkhU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAko16P4ACgkQ52SDGA2eCwVFQgCfduWO9o0hgJISd7XSrfYCh1b2 lXUAmQGzM1nab41S4VadtCBlWt9caQ4D =dupT -----END PGP SIGNATURE----- --K9fR5eBdO1VxXkhU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090615062358.GR48776>