On 09-Feb-02 Eugene M. Kim wrote:
> I'm not particularly good at reading the lock-related output, but it
> doesn't have other lines than the one that says about the Giant lock, so
> it seems there isn't any other locks being held by anyone.
show locks <pid> only shows the locks held by a single thread. Trying to show
all locks in the system would be a bit more work. You would basically need to
add a new DDB command that walked the allproc list doing a show locks on each
thread. show witness really isn't useful in most cases unless you are working
on witness itself. It merely shows the tree of lock order relationships.
John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message