Subject: Re: kern/36669 (NetBSD 4.0_BETA2 crashes with "panic: lockmgr: locking against myself")
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Antti Kantee <pooka@cs.hut.fi>
List: netbsd-bugs
Date: 07/25/2007 22:10:08
The following reply was made to PR kern/36669; it has been noted by GNATS.

From: Antti Kantee <pooka@cs.hut.fi>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/36669 (NetBSD 4.0_BETA2 crashes with "panic: lockmgr: locking against myself")
Date: Thu, 26 Jul 2007 01:06:09 +0300

 I started to wonder why this problem doesn't appear on NetBSD 3.  After a
 while of investigating it turned out that this is a side-effect of the
 recent VOP_LOOKUP locking changes.  Before those changes, all namei()s
 without LOCKPARENT did VOP_READLINK processing in namei() without the
 dvp lock.  Now all VOP_READLINK is done with dvp locked.
 
 Just goes to show again you can't even breathe into vfs locking without
 it falling over in totally weird places ....
 
 -- 
 Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
 http://www.iki.fi/pooka/                          http://www.NetBSD.org/
     "la qualité la plus indispensable du cuisinier est l'exactitude"