]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Several updates:
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 8 Jun 2012 21:30:35 +0000 (21:30 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 8 Jun 2012 21:30:35 +0000 (21:30 +0000)
commit8403b19372043b43879b38a3273c859aaf21bdaa
treede5eaf9b6a9a2e18fa2d648afe357cecf8796bcc
parent89b7a5879e6e19ff52e9e1c7940072de7174ccfd
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.
share/man/man9/rmlock.9