Re: [PATCH 3/3] tty_lock: Localise the lock
From: Jiri Slaby <hidden>
Date: 2012-05-07 21:04:25
Also in:
lkml
From: Jiri Slaby <hidden>
Date: 2012-05-07 21:04:25
Also in:
lkml
On 05/07/2012 07:00 PM, Sasha Levin wrote:
quoted
So whatever your trace is showing, that's not the bug. Something more complicated would appear to be afoot.Oddly enough, tty != tty->link, but the lockdep warning triggers. Any idea why it might happen?
I think so, both locks are the same lockdep class. So lockdep thinks it is the same lock. However this is a false positive. I guess we need mutex_lock_nested... regards, -- js suse labs