From owner-svn-src-all@FreeBSD.ORG Fri May 29 11:57:44 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B43DF106568C; Fri, 29 May 2009 11:57:44 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f159.google.com (mail-fx0-f159.google.com [209.85.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id BC7D38FC19; Fri, 29 May 2009 11:57:43 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fxm3 with SMTP id 3so1459665fxm.43 for ; Fri, 29 May 2009 04:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=GGihnm41lOgg8MrPVQSAt2BLk32xdTQKpbjlqeSt7zU=; b=bvOVrlf3F3Kj7rYLcpZ2WmztlmJ5rFYnjZWfXqfeNKiqMtxOULbF9SjmRkkNM8JSlb rCFjAJ+3I9kCaToxDFIyjpA5tiocLDLktKUJs3DeaiB+i0g5fsSrKieAvhUKDE+h4Jb8 K7IdPR6jCj7wZIpPFEON41qXYyg3wEWIWIY8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=TH54EpCUzWrS9i0gYf0qrV5NCiOCmznv3iUOdGi1KaZtZR50T1jFFestMiMEe7tw4C iqClrlU7e/VHuCeTbzwz/UEwT5aQ3lE749wP1oFHslxUMM9zAF28OY4+cW57JtZ3t6SI bVNeK2l95oBI19iy7yO5AS/bOiotkOVllSmrA= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.119.5 with SMTP id x5mr1978145faq.40.1243598262755; Fri, 29 May 2009 04:57:42 -0700 (PDT) In-Reply-To: <200905291052.n4TAqc5q072775@svn.freebsd.org> References: <200905291052.n4TAqc5q072775@svn.freebsd.org> Date: Fri, 29 May 2009 13:57:42 +0200 X-Google-Sender-Auth: c37ae948f9dfbe42 Message-ID: <3bbf2fe10905290457k7a00616dj43fc67a75d4a12b7@mail.gmail.com> From: Attilio Rao To: Robert Watson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r193030 - in head: share/man/man9 sys/kern sys/net sys/security/mac sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 11:57:45 -0000 2009/5/29 Robert Watson : > Author: rwatson > Date: Fri May 29 10:52:37 2009 > New Revision: 193030 > URL: http://svn.freebsd.org/changeset/base/193030 > > Log: > Make the rmlock(9) interface a bit more like the rwlock(9) interface: > > - Add rm_init_flags() and accept extended options only for that variation. > - Add a flags space specifically for rm_init_flags(), rather than borrowing > the lock_init() flag space. > - Define flag RM_RECURSE to use instead of LO_RECURSABLE. > - Define flag RM_NOWITNESS to allow an rmlock to be exempt from WITNESS > checking; this wasn't possible previously as rm_init() always passed > LO_WITNESS when initializing an rmlock's struct lock. > - Add RM_SYSINIT_FLAGS(). > - Rename embedded mutex in rmlocks to make it more obvious what it is. > - Update consumers. > - Update man page. Thanks! Attilio -- Peace can only be achieved by understanding - A. Einstein