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

From: Linus Torvalds (torvalds@transmeta.com)
Date: Wed Aug 01 2001 - 18:57:38 EST


In article <200108012253.f71MrxGO007546@webber.adilger.int> you write:
>
>Looking at the code, it appears that if we call shrink_dcache_memory()
>from while trying to allocate memoty for a filesystem, it returns
>without doing anything, to avoid a deadlock. Al Viro and/or Marcelo
>Tosatti probably know how to fix this.

Note that negative dentries are different, and can be happily thrown
away even from a filesystem context - so the suggested fix with special
handling for negative dentries (another email) should work fine.

                Linus
-
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