Date: Wed, 7 Mar 2007 20:48:48 +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: <200703072048.l27KmmEX047071@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703072048.l27KmmEX047071>
