diff options
author | jhb <jhb@FreeBSD.org> | 2006-04-17 21:11:01 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-04-17 21:11:01 +0000 |
commit | 244b211eab1e9ce92a170f3517f3bd70f705f725 (patch) | |
tree | 56000ce335b93d0bdffdde7b32fb9656db6ce2c0 /sys/kern/kern_shutdown.c | |
parent | 3b2002ac4053c16aa2576c294a01b9398f0983a0 (diff) | |
download | FreeBSD-src-244b211eab1e9ce92a170f3517f3bd70f705f725.zip FreeBSD-src-244b211eab1e9ce92a170f3517f3bd70f705f725.tar.gz |
- 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.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
0 files changed, 0 insertions, 0 deletions