Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/miscfs/nullfs



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@localhost>



Home | Main Index | Thread Index | Old Index