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, 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,
Bill
Home |
Main Index |
Thread Index |
Old Index