Memory leak

matsunaga matsunaga_kazuhisa at yahoo.co.jp
Mon Mar 10 11:26:37 EST 2003


> On Mon, 2003-03-10 at 15:48, matsunaga wrote:
> 
> > It is correct that rmmod will resolve it, but my concern is a
> > consistency of resource and memory saving.
> > Dnode resource acuqired during mount seems not to be refereneced when
> > you access to the file.
> 
> No. My point is _not_ that rmmod will resolve it, rather that rmmod will
> complain _loudly_ if there are slab resources still allocated when you
> try to unload the module. You'll then be unable to reload the module at
> all, if I recall correctly.

You are correct again ;-)
  kmem_cache_destroy(full_dnode_slab);
and
  kmem_cache_destroy(node_frag_slab);
return error.
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/





More information about the linux-mtd mailing list