diff options
author | jhb <jhb@FreeBSD.org> | 2013-06-25 18:44:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-06-25 18:44:15 +0000 |
commit | 0807c44cdd0226cdd2553f723a00de3d13882321 (patch) | |
tree | 7b07a13eb6ad28065286a3f60650edd2a6a0dc1c /share/man/man9/Makefile | |
parent | 43efcb27b6a0f52dec7b605055f5aae35f6d41de (diff) | |
download | FreeBSD-src-0807c44cdd0226cdd2553f723a00de3d13882321.zip FreeBSD-src-0807c44cdd0226cdd2553f723a00de3d13882321.tar.gz |
Several improvements to rmlock(9). Many of these are based on patches
provided by Isilon.
- Add an rm_assert() supporting various lock assertions similar to other
locking primitives. Because rmlocks track readers the assertions are
always fully accurate unlike rw_assert() and sx_assert().
- Flesh out the lock class methods for rmlocks to support sleeping via
condvars and rm_sleep() (but only while holding write locks), rmlock
details in 'show lock' in DDB, and the lc_owner method used by
dtrace.
- Add an internal destroyed cookie so that API functions can assert
that an rmlock is not destroyed.
- Make use of rm_assert() to add various assertions to the API (e.g.
to assert locks are held when an unlock routine is called).
- Give RM_SLEEPABLE locks their own lock class and always use the
rmlock's own lock_object with WITNESS.
- Use THREAD_NO_SLEEPING() / THREAD_SLEEPING_OK() to disallow sleeping
while holding a read lock on an rmlock.
Submitted by: andre
Obtained from: EMC/Isilon
Diffstat (limited to 'share/man/man9/Makefile')
-rw-r--r-- | share/man/man9/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index e29aeec..fe4086f 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1077,12 +1077,15 @@ MLINKS+=rman.9 rman_activate_resource.9 \ rman.9 rman_set_bustag.9 \ rman.9 rman_set_rid.9 \ rman.9 rman_set_virtual.9 -MLINKS+=rmlock.9 rm_destroy.9 \ +MLINKS+=rmlock.9 rm_assert.9 \ + rmlock.9 rm_destroy.9 \ rmlock.9 rm_init.9 \ + rmlock.9 rm_init_flags.9 \ rmlock.9 rm_rlock.9 \ - rmlock.9 rm_try_rlock.9 \ rmlock.9 rm_runlock.9 \ + rmlock.9 rm_sleep.9 \ rmlock.9 RM_SYSINIT.9 \ + rmlock.9 rm_try_rlock.9 \ rmlock.9 rm_wlock.9 \ rmlock.9 rm_wowned.9 \ rmlock.9 rm_wunlock.9 |