Re: repeated failed open()'s results in lots of used memory [Was: [Fwd: memory consumption]]

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Aug 01 2001 - 18:08:52 EST


On Wed, 1 Aug 2001, Linus Torvalds wrote:

> - make all the things that shrink dentries (notably the
> shrink_dcache_memory() function) call the above function first.
>
> Does that fix the behaviour for you?

That will kill _all_ negative dentries whenever we get any amount of
memory pressure. For stuff a-la $PATH it will get very ugly - currently
we have a lot of negative dentries in /usr/local/bin that prevent tons
of bogus lookups there,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:14 EST