Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2350844imm; Mon, 16 Jul 2018 06:39:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd8NFPyrMxQS62a6yL8G0R0ppHSXYYhr6273aMakiuDBzlZPyc2HH8G67hB9GDLp1obOQqD X-Received: by 2002:a63:4924:: with SMTP id w36-v6mr15662046pga.143.1531748399398; Mon, 16 Jul 2018 06:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531748399; cv=none; d=google.com; s=arc-20160816; b=lapDet+J8xYHe7DosO8vBU+OQOw5+KnQTvlSHcjyHGLTUuGdU3dpFCJCcWkxyxgyLe IexfcadXnFt6otm8JhkXC7djkybVo8Z8iXk1xRSTrlLGhcwZdbhm5zel7ZFSiw1fML6C YMwMt3mCZ2ZyorzQgULZpLqvtG3pGH2R1vYFYECOqYZndKbtzrxah47Z/UFBM6EPZ68f Xl1f40RvCvKtfh3Lwh6PJxKNyKsUlIlp18n82MNCD04f/MYAm0UYRSgz2aKzqMv5SB9V hW8CefL9LGbrpPJENa8JnkTpYHZVZLFMtKk3aX8of6VfHidWH3RaT/j2+PsDgmQAGWKf XhhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=AX3wy5/F2myZ5ZXEVcIEW2tcYAM1WljiROOav3ZEtQ4=; b=z7DGT1TmvOgLLZUCm+RcDCgoOTQOqTeqn1eEII1Cre2QQdhl2anqLLKDY7E+xvkjKY ys2/KF7pthijTlYkuQXtY/d8rszUamNMTa0UqEOqovunFUNpNfqJSg8pCXi+WLolXKZP Ns6UTHap4YGNMfooUHMVPzd1M1Ec6QtvvA7Hw7q+ViUPWLdpVAfMNNc6EHANb8ZH2RZK ieoZ/DrBkAa/l83NhYLqSEHy264cz/ip24m1gFveJgeO7urpcuHlgRbtPYLDr7tO6Y8C k77XGUNXo8CHUCkK+aXPmV1EZaxzOq9PtMWj5d+kHv4CHtqfPy5jxpFcyJdya4aMEFjI NOSQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o22-v6si3540820pgk.534.2018.07.16.06.39.44; Mon, 16 Jul 2018 06:39:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729613AbeGPOGe (ORCPT + 99 others); Mon, 16 Jul 2018 10:06:34 -0400 Received: from nautica.notk.org ([91.121.71.147]:57498 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727313AbeGPOGe (ORCPT ); Mon, 16 Jul 2018 10:06:34 -0400 Received: by nautica.notk.org (Postfix, from userid 1001) id E8E6AC009; Mon, 16 Jul 2018 15:39:02 +0200 (CEST) Date: Mon, 16 Jul 2018 15:38:47 +0200 From: Dominique Martinet To: jiangyiwen Cc: Andrew Morton , Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , Linux Kernel Mailing List , v9fs-developer@lists.sourceforge.net Subject: Re: [V9fs-developer] [PATCH] net/9p: Fix a deadlock case in the virtio transport Message-ID: <20180716133847.GA9421@nautica> References: <5B49B8CF.40709@huawei.com> <20180714090502.GA16186@nautica> <5B49DAA5.3020600@huawei.com> <20180714124715.GA16134@nautica> <5B4BFB29.3080507@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5B4BFB29.3080507@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org jiangyiwen wrote on Mon, Jul 16, 2018: > You're right, this wake up operation should be put after the unlocking, > I will resend it. In addition, whether I should resend this patch based > on your 9p-next branch? There is a trivial conflict with Thomas' validate PDU length patch, but as it is trivial either work for me - pick whichever is easier to work with for you. The main reason I asked for a new version of the other patch is that the IDR rework changed spin locks, so I'd rather it being clean. Thanks, -- Dominique