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:47:29
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.

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