Date: Mon, 17 Apr 2006 21:11:01 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_rwlock.c Message-ID: <200604172111.k3HLB1li070780@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604172111.k3HLB1li070780>