Subject: Re: CVS commit: syssrc/sys/miscfs/nullfs
To: Jason R Thorpe <>
From: Bill Studenmund <>
List: source-changes
Date: 03/06/2002 14:02:55
On Wed, 6 Mar 2002, Jason R Thorpe wrote:

> On Wed, Mar 06, 2002 at 01:37:50PM -0800, Jason R Thorpe wrote:
>  > 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.
> So, on an i386, a vnode is 152 bytes, and is allocated in a "packed"
> fashion by the pool allocator.

I sent out the algorythm in another mail. Hmm.. Probably need to change
it (or tweak the shift value).

Take care,