Subject: Re: CVS commit: syssrc/sys/miscfs/nullfs
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 03/06/2002 13:37:50
On Wed, Mar 06, 2002 at 01:17:52PM -0800, Bill Studenmund wrote:

 > This problem is just a cache/hash problem. I think we can fix it (or break
 > it :-) independantly of the other problem. The first thing that comes to
 > my mind is to make sure that LOG2_SIZEVNODE is still right; I'm not sure
 > if it's been adjusted since UBC (and the addition of the struct uvm_obj at
 > the front of the struct). That being wrong will certainly make the hash
 > not work right.

Hm, if it's LOG2_SIZEVNODE ... does that mean that the hash code also
relies on the vnodes being allocated by a power-of-2 allcator?  Vnodes
come from a pool now, so that assuption would also be broken.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>