Subject: Re: vnode locking problem
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 03/24/1999 11:23:20
On Wed, 24 Mar 1999 07:39:41 -0500 
 Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us> wrote:

 > I think the right answer in the short term is to add a new flag bit to
 > the lockmgr to indicate that locking against self is a non-fatal
 > condition, and should just cause the lockmgr call to fail instead of a
 > panic, and then pass that flag (and test for that error) in
 > uvm_vnode.c. and return EDEADLK.
 > 
 > This should be simple to add and test.  Comments?

I think this is a good idea.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>