Re: Q. locking order of dcache_lru_lock

From: Peter Zijlstra
Date: Mon Apr 11 2011 - 08:41:39 EST

On Mon, 2011-04-11 at 21:33 +0900, J. R. Okajima wrote:
> Peter Zijlstra:
> > Not really a problem, locking order is simply a tool/scheme to avoid
> > deadlocks. Since there is no deadlock potential its fine to 'violate'
> > locking order.
> I see.
> Then lockdep always ignore all tyrlocks?

For tracking dependencies, yes. It does register we hold the lock when
the trylock is successful.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at