Subject: Re: make vnodes freeable
To: None <>
From: YAMAMOTO Takashi <>
List: tech-kern
Date: 07/04/2003 10:11:31
> > following patch is to make vnodes freeable.
> > i.e. you can decrease kern.maxvnodes.
> I wonder if this can be made optional?  For systems that never plan to
> decrease kern.maxvnodes and have this set to a large value, it's a fair
> chunk of kernel memory tied up that'll never be used.  Of course, this
> will cause problems for kmem grovellers that use 'struct vnode' and
> 'struct nameicache' (at least fstat, maybe others).

i don't think it's worth to be optional.
do you concern sizeof struct vnode/namecache?

> I guess it's a big step to go to a totally dynamically sized vnode
> cache?  Ie, one that varies it's own size without manual intervention?