Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 09:00:23 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Ed Schouten <ed@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r187671 - head/sys/kern
Message-ID:  <200901260900.24276.jhb@freebsd.org>
In-Reply-To: <200901241820.n0OIKFs9095243@svn.freebsd.org>
References:  <200901241820.n0OIKFs9095243@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 24 January 2009 1:20:15 pm Ed Schouten wrote:
> Author: ed
> Date: Sat Jan 24 18:20:15 2009
> New Revision: 187671
> URL: http://svn.freebsd.org/changeset/base/187671
> 
> Log:
>   Mark kern.ttys as MPSAFE.
>   
>   sysctl now allows Giantless calls, so make kern.ttys use this. If it
>   needs Giant, it locks the proper TTY anyway.

You want CTLFLAG_MPSAFE, not CTLFLAG_NOLOCK.  NOLOCK means something else (it 
has to do with sysctl_wire_old_buffer()).

-- 
John Baldwin



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