Subject: Re: vnode locking problem
To: None <tech-kern@netbsd.org, M.Drochner@fz-juelich.de>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: tech-kern
Date: 03/24/1999 12:30:07
> There were people looking into locking issues - may I direct your
> attention to PR kern/4629. There is a "locking against myself" if
> a program reads its own inode while the vm system tries to page in
> something.
> As long as there is no UBC - couldn't a fix be as easy as the
> appended patch? Or is this a can of worms?
I think you'll find that many of the VOP_READ() functions assume
the vnode they get is locked for exclusive use.
-pk