Re: The VFS cache is not freed when there is not enough free memory to allocate
From: Mike Frysinger
Date: Sun Nov 26 2006 - 20:39:43 EST
On 11/22/06, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
Yes it does that, but there is no guarantee that those 50MB have a
single 1M contiguous region amongst them.
right ... the testcase posted is more to quickly illustrate the
problem ... the requested size doesnt really matter, what does matter
is that we cant seem to reclaim memory from the VFS cache in scenarios
where the VFS cache is eating a ton of memory and we need some more
another scenario is where an application is constantly reading data
from a cd, re-encoding it to mp3, and then writing it to disk. the
VFS cache here quickly eats up the available memory.
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/