Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2

From: Al Viro
Date: Wed Sep 21 2005 - 22:12:57 EST


On Wed, Sep 21, 2005 at 03:03:33PM -0700, Roland Dreier wrote:
> Christopher> Digging in a bit more, it looks like the files are
> Christopher> being created/destroyed/renamed in /tmp, which is a
> Christopher> tmpfs filesystem.
>
> Hmm... could there be a race in shmem_rename()??

Not likely - in that setup all calls of ->unlink() and ->rename()
are completely serialized by ->i_sem on parent. One question:
is it dcache or icache that ends up leaking?
-
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/