cvs commit: src/sys/kern kern_rwlock.c
John Baldwin
jhb at FreeBSD.org
Wed Mar 7 20:48:48 UTC 2007
jhb 2007-03-07 20:48:48 UTC
FreeBSD src repository
Modified files:
sys/kern kern_rwlock.c
Log:
Fix some nits in lock profiling for rwlocks:
- Properly note when a read lock is released.
- Always note when we contest on a read lock.
- Only note success of obtaining read locks for the first reader to match
the behavior of sx(9).
Reviewed by: kmacy
Revision Changes Path
1.16 +9 -6 src/sys/kern/kern_rwlock.c
More information about the cvs-src
mailing list