Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2501323imu; Mon, 17 Dec 2018 03:06:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vmm5yU7K24P02p6Njw5N8r0KYbroFYP6XidxcxxgvB89ecMNvGCAc+2O0BCGGvcB1zQLQm X-Received: by 2002:a17:902:6bc4:: with SMTP id m4mr11707670plt.93.1545044816681; Mon, 17 Dec 2018 03:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545044816; cv=none; d=google.com; s=arc-20160816; b=OkxmjuCVs21Q4V6MnDCBAm46V97ejAI6yD5iJh48QA8hIGxOiNRNjpsPeSOaiaAPZ+ 2JSdUkS1g97QEGaVlwv/hTheHGqd6FcT13kBeC/f1j5u/jxk8wpoxOZyzXeM5Q1dccbC odt7afRsAFhz897tyMrjka2aLK10FnClQJAHUhNvfxKUZMEgmwZNvIajT9Fw4TvQcLYU xa1Or9nHhwQYrMkrjCWZsvdLQL0cN7BWjrRpjRJ5Ro1pJBG1zR3mib4iPDuwtuXL4dsj gqhHAgg1mYmGKeEhvumw3/HnBkpuN1oAgwfWA5xtq9b4VTEXENC9z4VKPklS3Bsxm5m2 BVqQ== 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; bh=6HRMb4MVz+iHlz4QAtd5w0ju4YBnB7sM2Hp+RMEq8pE=; b=w9U/IwXM/zrve0ggGX0tbMUdb/WMVpv+pUCasnx6gycFFrNKuzjlEoJVEcyr/kOMTj id/fKZLinw8nsLCI08BSDZv7huFTN2bY5YgGWO+TzL9F2JKgUy7lF3WrO52CK7uFyfDR gQou6+9AiOBgvPKU+ilZ6aKAfw4OUxn6D5iSXcCIztRzi1Vy3cAOR46oQQIxQbCCXq/Z aZ2ayMd21nMUL8rOMOeyMRIjdYg/T6/R1tNI1ha6f1Ds27Sg1IpYh8cNuBzRTARhMCnY Cu++uvuRo2Bidw5QYtI8MXB5rHPEuKFxhmMEYPe/ZUKxjWklZZh85EuCWBnQSVvLQB47 nAsw== 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 j12si10588716pgq.26.2018.12.17.03.06.39; Mon, 17 Dec 2018 03:06:56 -0800 (PST) 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 S1731794AbeLQLB2 (ORCPT + 99 others); Mon, 17 Dec 2018 06:01:28 -0500 Received: from nautica.notk.org ([91.121.71.147]:55881 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726505AbeLQLB2 (ORCPT ); Mon, 17 Dec 2018 06:01:28 -0500 Received: by nautica.notk.org (Postfix, from userid 1001) id 30B6FC009; Mon, 17 Dec 2018 12:01:26 +0100 (CET) Date: Mon, 17 Dec 2018 12:01:11 +0100 From: Dominique Martinet To: Tomas Bortoli Cc: v9fs-developer@lists.sourceforge.net, Dominique Martinet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Eric Van Hensbergen , Latchesar Ionkov , Dmitry Vyukov Subject: Re: [PATCH 1/3] 9p/net: implement asynchronous rpc Message-ID: <20181217110111.GB17466@nautica> References: <1544532108-21689-1-git-send-email-asmadeus@codewreck.org> <0da7d896-0d67-46f6-83f9-b346eba991a9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0da7d896-0d67-46f6-83f9-b346eba991a9@gmail.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 Tomas Bortoli wrote on Mon, Dec 17, 2018: > sorry for the delay, I've been quite busy these days. No problem. > The patches looks good to me and should indeed speed up the code a bit. > I quickly tested them against Syzkaller tuned for the 9p subsystem and > everything seems fine. Thanks, can I add your Reviewed-by on all three? > And by the way, which refcount races? There's a problem with trans_fd read_work and cancelled callback; I'm not so sure about refcount but we can definitely get double list_del as we're not checking the status. I think when we incorrectly remove from the list we also mismanage the refcount, but honestly need to test.. -- Dominique