svn commit: r193030 - in head: share/man/man9 sys/kern sys/net sys/security/mac sys/sys

Attilio Rao attilio at freebsd.org
Fri May 29 11:57:45 UTC 2009


2009/5/29 Robert Watson <rwatson at 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


More information about the svn-src-all mailing list