Date: Fri, 30 Mar 2007 18:07:25 +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_lock.c src/sys/sys lockmgr.h Message-ID: <200703301807.l2UI7Ps7060042@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2007-03-30 18:07:25 UTC
FreeBSD src repository
Modified files:
sys/kern kern_lock.c
sys/sys lockmgr.h
Log:
- Use lock_init/lock_destroy() to setup the lock_object inside of lockmgr.
We can now use LOCK_CLASS() as a stronger check in lockmgr_chain() as a
result. This required putting back lk_flags as lockmgr's use of flags
conflicted with other flags in lo_flags otherwise.
- Tweak 'show lock' output for lockmgr to match sx, rw, and mtx.
Revision Changes Path
1.109 +11 -7 src/sys/kern/kern_lock.c
1.53 +2 -2 src/sys/sys/lockmgr.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703301807.l2UI7Ps7060042>
