Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2013 11:44:01 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Attilio Rao <attilio@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r254139 - in head: share/man/man9 sys/kern
Message-ID:  <201308091144.01551.jhb@freebsd.org>
In-Reply-To: <201308091124.r79BOT7w099814@svn.freebsd.org>
References:  <201308091124.r79BOT7w099814@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, August 09, 2013 7:24:29 am Attilio Rao wrote:
> Author: attilio
> Date: Fri Aug  9 11:24:29 2013
> New Revision: 254139
> URL: http://svnweb.freebsd.org/changeset/base/254139
> 
> Log:
>   Give mutex(9) the ability to recurse on a per-instance basis.
>   Now the MTX_RECURSE flag can be passed to the mtx_*_flag() calls.
>   This helps in cases we want to narrow down to specific calls the
>   possibility to recurse for some locks.

It would perhaps be better for the ops passed to WITNESS to be opt-in
rather than opt-out, so that you use 'opts & LOP_QUIET | foo' rather
than 'opts & ~MTX_RECURSE | foo'.

-- 
John Baldwin



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