lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RT] locking/rtmutex: do lockdep before actual locking in rt_spin_lock()
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.

\
 
 \ /
  Last update: 2017-10-11 18:22    [W:0.037 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site