summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mib.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-04-17 21:11:01 +0000
committerjhb <jhb@FreeBSD.org>2006-04-17 21:11:01 +0000
commit244b211eab1e9ce92a170f3517f3bd70f705f725 (patch)
tree56000ce335b93d0bdffdde7b32fb9656db6ce2c0 /sys/kern/kern_mib.c
parent3b2002ac4053c16aa2576c294a01b9398f0983a0 (diff)
downloadFreeBSD-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_mib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud