From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964938AbcBDSqX (ORCPT ); Thu, 4 Feb 2016 13:46:23 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:33843 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964776AbcBDSqV (ORCPT ); Thu, 4 Feb 2016 13:46:21 -0500 Subject: Re: tty: deadlock between n_tracerouter_receivebuf and flush_to_ldisc To: Dmitry Vyukov References: <20160120130201.GA1027@worktop> <569FB10F.4080205@hurleysoftware.com> <56A118C4.9050402@hurleysoftware.com> <56B180F8.8030901@hurleysoftware.com> <56B25050.9070003@hurleysoftware.com> Cc: Peter Zijlstra , Jiri Slaby , One Thousand Gnomes , Greg Kroah-Hartman , LKML , J Freyensee , syzkaller , Kostya Serebryany , Alexander Potapenko , Sasha Levin , Eric Dumazet From: Peter Hurley Message-ID: <56B39C7A.2080606@hurleysoftware.com> Date: Thu, 4 Feb 2016 10:46:18 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/04/2016 05:17 AM, Dmitry Vyukov wrote: > On Thu, Feb 4, 2016 at 1:39 PM, Dmitry Vyukov wrote: >> On Wed, Feb 3, 2016 at 8:09 PM, Peter Hurley 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. Regards, Peter Hurley