svn commit: r254139 - in head: share/man/man9 sys/kern

John Baldwin jhb at freebsd.org
Fri Aug 9 16:37:00 UTC 2013


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


More information about the svn-src-head mailing list