Re: [RFC PATCH] shrink_dcache_parent() deadlock

From: Linus Torvalds
Date: Mon Jan 09 2012 - 11:43:55 EST


On Mon, Jan 9, 2012 at 2:58 AM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>
> This patch adds a new dentry flag that is set when the dentry is removed
> from the lru and put on the list being processed by
> shrink_dentry_list().  The flag is cleared in dentry_lru_del() which is
> called if the dentry gets a new reference just before it's pruned.
>
> Thoughts?

Looks reasonable. Were you actually able to reproduce the hang, or how
did you notice?

Al, comments?

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