Re: tty: deadlock between n_tracerouter_receivebuf and flush_to_ldisc
From: Dmitry Vyukov
Date: Thu Feb 04 2016 - 13:48:40 EST
On Thu, Feb 4, 2016 at 7:46 PM, Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> wrote:
> On 02/04/2016 05:17 AM, Dmitry Vyukov wrote:
>> On Thu, Feb 4, 2016 at 1:39 PM, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
>>> On Wed, Feb 3, 2016 at 8:09 PM, Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> wrote:
>
>>>> Hopefully, once the problem with the bad stacktraces are fixed, the
>>>> actual circular lock dependencies will be clear.
>
>> Found a bug in lockdep. Yes, the first stack is correct, and the saved
>> stack is just a random, unrelated stack. Will mail a fix.
>
> Ok, so with the lockdep bug fixed, those reports should now have the
> correct stack traces.
>
> I'd appreciate if you could re-generate the original report, so I can examine
> if my speculative fix was appropriate.
>
> And then if you would re-generate the more recent report, I'll relook at
> that.
Working hard on it now.