On Wed, Oct 11, 2017 at 06:16:46PM +0200, Sebastian Andrzej Siewior wrote: > rt_spin_lock() should first do the lock annotation via lockdep and then > do the actual locking. That way we learn about the deadlock from lockdep > before it happens.
Yep, that's the right order.

