[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-kern
Subject: Re: Memory leak?
From: root () ihack ! net (Charles M ! Hannum)
Date: 1999-11-23 1:07:58
[Download RAW message or body]
Michael Graff <explorer@flame.org> writes:
> Frank van der Linden <frank@wins.uva.nl> writes:
>
> > D'oh! No wonder vnodes were never taken from the freelist.. Thanks!
>
> Is there any reason vnodes are kept on a private free list, rather
> than being given back to the memory pool like ffsinodes are?
As we've gone over before, the implementation of vfs_cache.c requires
this. If a vnode is freed, we have to be absolutely certain there are
no namei cache pointers pointing to it.
I even proposed (somewhere) a method for efficiently freeing vnodes in
chunks, without changing any data structures...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic