Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp461675imm; Fri, 31 Aug 2018 05:14:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaeJ1tV5YSJge0xXs2LoztSiF52ge3awpeKqXHOipMU5GrtXgMC4gKuOH2mjqrswMbXedfV X-Received: by 2002:a17:902:b08d:: with SMTP id p13-v6mr15047031plr.321.1535717683331; Fri, 31 Aug 2018 05:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535717683; cv=none; d=google.com; s=arc-20160816; b=FTe2CPiBvuSSlJNoLQP6WoHaY/tGrcTPAhi4Uf/f+IFRFTt1IyGk2FM+EpY/j3OGL2 Y5bPrZY8KlYrjF4uTK0Va/4zEwp39Jsr0Zdu/mvpKO9TBbNpG86bIp6LncaUnuReUA1Y eeh50LZWYaKoRoWTlpH1HsTDGC509KHxNa+iwY+teM3kPx1AGVTtiQNgG5+yqVmqXhdb A1aGesLhBeYiHPiFt15dziibsqrlCjvUSVTiDlGuJcKYndFIUIomrq26tObvsEQPmMcP NNquc4DLObpC3CMmuRTWkNvR9VGxqjRozAh3vKCCkJin2qIaT7GMZ6WA582dvcrJqNpq 78Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:arc-authentication-results; bh=rZ4uRNrM3UyRgQOQa1fX/4aOyR+O/loC76aR75w/PNo=; b=AuRA93b5Fy7cJJ8gfmmSREYKxMw+Th3bbjINBlsPL3A/0a/HUKd8pScaC4IC/OAEC+ 0AqpQLsFcuVTMz2qa78y9Jb1SI/g2KiZJaTFm4pZXCPU87w/ghlnxlURqLGVRi1meEw4 qbwBUXKJ3/fPnZVfPQBv0s3H7zlU+sDjCh0j4dCfvpOt5aLfNIs3gMEZJZdwI4VnmJ2R Jgx3nUiYhpviGQ07fbeOGoNKUol0666ZPXIzNva0Lc3KzpTwYuqXWUwzUQQn3VYXkRSx KDH2gwqZ5oDY/QyYIQ0rXuWCKIfVLDKiUNmTMONRZXiWOoGCOmLtlBu0GmpEgZmlw36R JyeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arista.com header.s=googlenew header.b=mNRBezty; 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=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13-v6si9366275pll.337.2018.08.31.05.14.28; Fri, 31 Aug 2018 05:14:43 -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; dkim=pass header.i=@arista.com header.s=googlenew header.b=mNRBezty; 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=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=arista.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728201AbeHaQT4 (ORCPT + 99 others); Fri, 31 Aug 2018 12:19:56 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41136 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727634AbeHaQTz (ORCPT ); Fri, 31 Aug 2018 12:19:55 -0400 Received: by mail-ed1-f67.google.com with SMTP id f38-v6so8880221edd.8 for ; Fri, 31 Aug 2018 05:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=googlenew; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=rZ4uRNrM3UyRgQOQa1fX/4aOyR+O/loC76aR75w/PNo=; b=mNRBeztyVXXazYdcP2AALn012l/wqniUBjxaFrdape/GB1QNtoWce4HqHP0tBaSpbu uWnp/pcdrJEK9zagW5AQDz7Y6IURqodk7+FTvCaZ+ADn63lH40Urj6XGXkw35TVeMIlf LHWwi6DEgHnJTEW6/e4t+0Hlnea06wIOJH263qBep5MeApko1IGjhNOL3dHpiHkURTlH 2axyC3Eu1Xd/L/CLL9keuMoOCX0EPSv1I2Q5QdKhvG9bv8VwyToXz5CPWLZ125s55sfL +R++2qnfxRJrcnmmeVRaS/jQdgM+AWrV/HeyFAsVFbcjXF5FmU356UvBzDA9fo/VsW4N 9UGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=rZ4uRNrM3UyRgQOQa1fX/4aOyR+O/loC76aR75w/PNo=; b=G+D+2g6oWV+IZZsFHg1bda9nwz6VWDyQ0gi4+PSkSR8MXt2JMjovhmP/8Xt6SiZcqR moPLxGq1xejH7RMr0FdagllLP3wJmA1z49nmogYOcTpyYIcjhdogb76kqxMrs2j0QxJN Yp6melCWfNgz9wsganrYOVWUOzoJ1LmDV8LwMl7fdgVsJLPB7TFVZA1WZDLt4ktDhNHP bX2x2ovInm5CXoVfa8DD1aWDvyhHHz/a1OrhNQDGtNc03DFNl59L+z/CYYW2kav1Dswo a//Yn5Sa8+IlYg4Te+5frErhSUDFIxKSvouT9DBmak5fbBeFTYNb5Fq/Cba4gK0C/xWU /oAg== X-Gm-Message-State: APzg51CLaRJmyPOHVZTKrDIV00Fa18Rb6Tm56hfOe4BB1DMT4fKLvMEg yEKWb+QS63C8Te9RXQrJqpTOTw== X-Received: by 2002:a50:e249:: with SMTP id o9-v6mr17848377edl.253.1535717562770; Fri, 31 Aug 2018 05:12:42 -0700 (PDT) Received: from dhcp.ire.aristanetworks.com ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id a19-v6sm6405014edd.69.2018.08.31.05.12.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 05:12:41 -0700 (PDT) Message-ID: <1535717560.23560.79.camel@arista.com> Subject: Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen() From: Dmitry Safonov To: Jiri Slaby , Tetsuo Handa , linux-kernel@vger.kernel.org Cc: Dmitry Safonov <0x7f454c46@gmail.com>, Daniel Axtens , Dmitry Vyukov , Michael Neuling , Mikulas Patocka , Pasi =?ISO-8859-1?Q?K=E4rkk=E4inen?= , Peter Hurley , Sergey Senozhatsky , Tan Xiaojun , Greg Kroah-Hartman , stable@vger.kernel.org Date: Fri, 31 Aug 2018 13:12:40 +0100 In-Reply-To: <02638897-952c-c21e-ff7d-fc72e093b764@suse.com> References: <20180829022353.23568-1-dima@arista.com> <20180829022353.23568-3-dima@arista.com> <0cb6bb7c-776b-28d6-65a6-f5b496e32344@I-love.SAKURA.ne.jp> <5b5fa362-f5cf-53ab-044b-0577856b872d@suse.com> <19bf55bc-eca4-672f-8ce7-b72329207074@i-love.sakura.ne.jp> <02638897-952c-c21e-ff7d-fc72e093b764@suse.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.6 (3.24.6-1.fc26) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-08-31 at 13:21 +0200, Jiri Slaby wrote: > On 08/31/2018, 01:17 PM, Tetsuo Handa wrote: > > Also, noisy messages like > > > > pts pts4033: tty_release: tty->count(10529) != (#fd's(7) + > > #kopen's(0)) > > > > are gone. > > fwiw, thanks to 1/4… > > Dmitry, could you note the message above to the commit log of 1/4, so > that we know the patch fixed that and downstream can pick it up... > Sure, will do. -- Thanks, Dmitry