Re: Q. locking order of dcache_lru_lock

Peter Zijlstra
2011-04-09T17:12:20Z

On Fri, 2011-04-08 at 22:20 +0900, J. R. Okajima wrote:
>
> When spin_trylock(&dentry->d_lock) successfully acquired d_lock, does
> the violation of locking order happen (or a deadlock, in worse case)?

No, since a trylock never actually blocks a deadlock cannot occur.