lkml.org 
[lkml]   [2012]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] tty: tty_mutex: fix lockdep warning in tty_lock_pair(v3)
From
Date
On Sat, 2012-05-26 at 17:23 +0800, Ming Lei wrote:
>
> You mean that the below is good usage of lock?
>
> LOCK A
> LOCK B
>
> UNLOCK A
> UNLOCK B

Yep, nothing wrong with that. Its lock order that matters, unlock very
much not so.



\
 
 \ /
  Last update: 2012-05-26 19:21    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site