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    [W:0.025 / U:1.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site