diff options
author | jhb <jhb@FreeBSD.org> | 2012-06-08 21:30:35 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-06-08 21:30:35 +0000 |
commit | be453f58c1eab09996cfd89e3d5932cabb6581a0 (patch) | |
tree | de5eaf9b6a9a2e18fa2d648afe357cecf8796bcc /sys/kern/subr_smp.c | |
parent | 671916033f0a9377dafb5a45943c40aa706eae9d (diff) | |
download | FreeBSD-src-be453f58c1eab09996cfd89e3d5932cabb6581a0.zip FreeBSD-src-be453f58c1eab09996cfd89e3d5932cabb6581a0.tar.gz |
Several updates:
- Consistently refer to rmlocks as "read-mostly locks".
- Relate rmlocks to rwlocks rather than sx locks since they are closer to
rwlocks.
- Add a separate paragraph on sleepable read-mostly locks contrasting them
with "normal" read-mostly locks.
- The flag passed to rm_init_flags() to enable recursion for readers is
RM_RECURSE, not LO_RECURSABLE.
- Fix the description for RM_RECURSE (it allows readers to recurse, not
writers).
- Explicitly note that rm_try_rlock() honors RM_RECURSE.
- Fix some minor grammar nits.
Diffstat (limited to 'sys/kern/subr_smp.c')
0 files changed, 0 insertions, 0 deletions