cvs commit: src/sys/kern kern_rwlock.c
John Baldwin
jhb at FreeBSD.org
Mon Apr 17 21:11:01 UTC 2006
jhb 2006-04-17 21:11:01 UTC
FreeBSD src repository
Modified files:
sys/kern kern_rwlock.c
Log:
- Add a rw_wowner() macro that just returns the owner of a write lock and
use it in places that only care about the write owner instead of
rw_owner() as a baby step towards limited read-lock owner.
- Tidy the code that sets the WAITER flag bits to not duplicate a test
around the atomic operation and the KTR trace in both of the lock
functions.
Revision Changes Path
1.6 +38 -26 src/sys/kern/kern_rwlock.c
More information about the cvs-src
mailing list