Messages in this thread |  | | | Subject | Re: [PATCH] tty: tty_mutex: fix lockdep warning in tty_lock_pair(v3) | | From | Peter Zijlstra <> | | Date | Sat, 26 May 2012 18:39:45 +0200 |
| |
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.
|  |