Re: dcache: remove trylock loops (was Re: [BUG] lock_parent() breakage when used from shrink_dentry_list())

From: Matthew Wilcox
Date: Tue Mar 13 2018 - 22:58:31 EST


On Tue, Mar 13, 2018 at 11:59:30PM +0000, Al Viro wrote:
> Come to think of that, it might make sense to lift rcu_read_lock() all the
> way out of that sucker. Objections? Below is the incremental I'd fold into
> that commit:

Looks clearer to me.