Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2425960imm; Wed, 3 Oct 2018 03:47:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV63+euH2LTwWOSlGtUPg/ziGRGjD6X8LC9WHwMYkU5+HpMKnM+t5AtZPXNIKMQ/lAwqfDfXk X-Received: by 2002:a17:902:6b47:: with SMTP id g7-v6mr1027203plt.128.1538563636011; Wed, 03 Oct 2018 03:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538563635; cv=none; d=google.com; s=arc-20160816; b=kR9mE+0RZdiaPKypA5gxcus1TKszvuH5Y4Cya2XUP9RSeeYSfxrRb2WbQFp5+uWgvy OUARXMt1rMWHiiuYueXBxWVnkxHqIiMCY8CiW7/5fXWHzduY4H+dHhq+dTT3Wbfbel+b 2pV3DhyHSb2nplVmxnObsY5gA1kjT3ZTCGxOjdhTVi2lW4G4lm7UYO+m9PDJM0ndlIQT DhpW3f+s8Fmiz/ssb4UQdJNdYz5cr6z7nn5FSXBQXD3ARuQq1v7rwqqVTnrTvPBnIjet aJunXsIujsvbR2EaG0Z2HA3k8CN3bRFtUT8ewQwXf83+MPUBbp/pUrsC3obK0PSGeYae XR8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=ZEcH9bK4V8Z1xS23RxMjsKT/xRkkcAazXgIp4vJ2x9I=; b=uiOg6nu9N5tEoba/7k07SWkrYwaFqQ+87BStLD4fccBYnXHO3ORhSeST60ZrjDR/fe +03g8YE713eaKfmtIUNOBmzZjHmH3cMfSaa9HOBsQm8wT9KkWO0atahnjkr9ioRtr0BK /vuKANDnoK2DDR8V49KoygXNGP1V9rWEbnq8Q1kaqW2J4MLk0fVTYttHSiF2vxZ2GLdf yHs8yeKsvbCaJL6JD8mHWM04LtS+NTYwlai8Q7QHgI0mSx2wR4f+9BcuxOrDpYQhq+Li 1OTwhGdU71DVzzNXMVmwjzNGJJ+p5hngsIkl0QirHMx4kLB2GJRh0AcMn780f+HIKLc1 Fh6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 11-v6si1117295plb.383.2018.10.03.03.47.00; Wed, 03 Oct 2018 03:47:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726767AbeJCRem (ORCPT + 99 others); Wed, 3 Oct 2018 13:34:42 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59183 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726544AbeJCRem (ORCPT ); Wed, 3 Oct 2018 13:34:42 -0400 Received: from mail-wr1-f72.google.com ([209.85.221.72]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1g7eg7-0002LF-ME for linux-kernel@vger.kernel.org; Wed, 03 Oct 2018 10:46:51 +0000 Received: by mail-wr1-f72.google.com with SMTP id v30-v6so262351wra.19 for ; Wed, 03 Oct 2018 03:46:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZEcH9bK4V8Z1xS23RxMjsKT/xRkkcAazXgIp4vJ2x9I=; b=AZBd8fNCsvRSdkjmQ5jXiupMV48utNMlVq5pYKadJAKeqvrKghjW3G6iIXIZxnZN8F pQO95nDLxvHC6yUMQ4XFpvP0p6ZDQU3nzwAwc8OVOAcjX0oFF98XoI8JaEd8bXHAhElI jFFFr7ZbB1YJHI1Zb1t1Gl55QHS30sdHx8qPmgHuZczEOI02K48uW+bt3qql9TUroizW 7hRt0tQC7hkPv6aqXU1z5WzswF/kxcrJmE7EN20TGTijIarRoctkjcEKwv2mjTPAGU2c xl0ht3zI4KAlVsCuVzGcwqCBVSQQlhIxW5twHi7Km1Qy2CQvDrrjLysAl3/REX8vPczh 4jIw== X-Gm-Message-State: ABuFfojZRsDjiKsOGzrwigKX5McUVJOaZxN3PGONw8gl3svzj3Rt1lyP qv2Jf77YsoqteUoErvPEzfwb4RhwyjA7kokU4pcAJR6K1HyAZcwTlyt+E1E8C97PiHAwKjqUGbK rOGaA7e398sLSoVXmJdQXsibOEzwf346SedYT4g84XF/f/qGw1Hy6kRdZ0g== X-Received: by 2002:adf:b3d7:: with SMTP id x23-v6mr803683wrd.253.1538563611379; Wed, 03 Oct 2018 03:46:51 -0700 (PDT) X-Received: by 2002:adf:b3d7:: with SMTP id x23-v6mr803665wrd.253.1538563611080; Wed, 03 Oct 2018 03:46:51 -0700 (PDT) MIME-Version: 1.0 References: <8c61fd04-969a-cb09-6595-7ee23d214ab1@canonical.com> <99f1353a-e1a0-5ade-4aad-3eb62ea42a66@canonical.com> <1538515983.4348.93.camel@arista.com> In-Reply-To: <1538515983.4348.93.camel@arista.com> From: Guilherme Piccoli Date: Wed, 3 Oct 2018 07:46:14 -0300 Message-ID: Subject: Re: [PATCHv5 3/7] tty: Hold tty_ldisc_lock() during tty_reopen() To: dima@arista.com Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 2, 2018 at 6:33 PM Dmitry Safonov wrote: > [...] > Well, v5 passes 0day, so all previous reports are fixed. > But there is a new one about reboot on parisc platform which takes ~3 > mins after the patch with ldisc locked on tty_reopen(). > > I believe it's related to holding read side for too long.. > So, the patches still need another fix, heh. > > Unfortunately, I was a bit busy with other bugs hitting more in Arista. Hi Dmitry, thank you! Yeah, I saw that reading the whole thread after sending this email heheh That's a bummer =/ Unfortunately, I don't have a reproducer to exercise your patch. Do you have some recipe on how to reproduce it easily? I'll try more, in order I can validate the reboot behavior here. > > > I'd like to ask you if you did respin the patch with Greg's > > > suggestion > > > for the tag - I couldn't find it in LKML heheh > > > > > > Oh, if you can CC me in future spins of this patch (in case there > > > any), > > > I'd really be glad. > > Sure, will enlarge Cc list ;) > Thanks again! Cheers, Guilherme