Date: Fri, 29 May 2009 13:57:42 +0200 From: Attilio Rao <attilio@freebsd.org> To: Robert Watson <rwatson@freebsd.org> 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 Message-ID: <3bbf2fe10905290457k7a00616dj43fc67a75d4a12b7@mail.gmail.com> In-Reply-To: <200905291052.n4TAqc5q072775@svn.freebsd.org> References: <200905291052.n4TAqc5q072775@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/29 Robert Watson <rwatson@freebsd.org>: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10905290457k7a00616dj43fc67a75d4a12b7>