Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2006 09:51:27 +0000
From:      John Birrell <jb@what-creek.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, John Birrell <jb@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/amd64/amd64 genassym.c src/sys/arm/arm genassym.c src/sys/i386/i386 genassym.c src/sys/ia64/ia64 genassym.c src/sys/kern subr_prf.c tty_cons.c src/sys/powerpc/powerpc genassym.c src/sys/sparc64/sparc64 ...
Message-ID:  <20061101095126.GA72578@what-creek.com>
In-Reply-To: <20061101093550.GK15861@garage.freebsd.pl>
References:  <200611010454.kA14spYn014613@repoman.freebsd.org> <20061101093550.GK15861@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 01, 2006 at 10:35:50AM +0100, Pawel Jakub Dawidek wrote:
> What I'd like is a global printf_lock which will allow me to put many
> separate printfs under it and be sure it won't be messed up by other
> CPUs. Having it recursive could also eliminate the need for per-CPU
> buffers, as I don't think we care about performance here.
> 
> What do you think?

I'm not a fan of having people hold a lock over one or more consoles
for very long.

That doesn't mean that others will share my opinion, though. 8-)

--
John Birrell




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