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

Alexander Viro (viro@math.psu.edu)
Wed, 1 Aug 2001 19:08:52 -0400 (EDT)


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/