From owner-svn-src-head@FreeBSD.ORG Fri Aug 9 16:37:00 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A790D8D6; Fri, 9 Aug 2013 16:37:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7D1C822C4; Fri, 9 Aug 2013 16:37:00 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 6D291B924; Fri, 9 Aug 2013 12:36:58 -0400 (EDT) From: John Baldwin To: Attilio Rao Subject: Re: svn commit: r254139 - in head: share/man/man9 sys/kern Date: Fri, 9 Aug 2013 11:44:01 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p28; KDE/4.5.5; amd64; ; ) References: <201308091124.r79BOT7w099814@svn.freebsd.org> In-Reply-To: <201308091124.r79BOT7w099814@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201308091144.01551.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 09 Aug 2013 12:36:58 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 16:37:00 -0000 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