Subject: Re: CVS commit: src/sys
To: Greg Troxel <gdt@ir.bbn.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 07/29/2007 15:05:54
On Sun, Jul 29, 2007 at 09:35:27AM -0400, Greg Troxel wrote:
> 
> With lookup, there's a notion that a lock is obtained on a vnode, and
> then a locked child is returned, enabling traversing down the tree.

Holding a refernce count on each vnode is also enough.

Forcing everyone to get a reference count requires an additional
mutex to be acquired (over locking the vnode itself).
This probably doesn't make much odds though.

	David

-- 
David Laight: david@l8s.co.uk