Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp692344imm; Wed, 11 Jul 2018 09:20:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpddWurrw5SQBizfkBxRXTvgDfWrBOy8HHIq5dhMxZ/mUNs/ytL9a3anXUuK0De1OW+Lr2jT X-Received: by 2002:a62:d444:: with SMTP id u4-v6mr30889212pfl.142.1531326043963; Wed, 11 Jul 2018 09:20:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531326043; cv=none; d=google.com; s=arc-20160816; b=LRgQ9nYQC8ndA+QOUBNro5Wlas1C1pnPuv86GCf5sCjELhzKnhrE8sKdJ2lRPNHuif bJavGueF++dI74rSa0bySBVkepaetXLg2vzMBNKAkP62TsDpp1WSvS6C9HgOaV5MN49W PS6QYUIrCoEJy0HKwUByj79VNcaAPkbYn6nPVDHAMUiIcAbjqFe2kWtnYPZDA7z3p/W0 XcmgSRHK5eV7fftlZ4UTxDs2pEA1AgqrpKBRi6oNu0U48h8TLMIVloP0WccrhKJSdzH+ hQtWTvhVBEouARRnUgOHffL0wNDTwjZbZpJLsU3SpNeSDC8RQMI51mglLumiieNv/xi3 64vg== 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=s5PtwPBElNMGAI9ljfggimdlfp0De3V16QaXw6BrDIU=; b=HqSak7VUOQGi30HeRHee12/BuELQKY+YX7JvA1kB8GTuRz+PAME+F83a/dXHppvfDu 8ik0YqFiEA/C3zYRIPfinHjfeh3kFSk4u6ozkOJTrYBsHBFCshRKG0ItUHc/CZHPyoPk j/NpJKXOFjojERUsZ4PFI0t3sa5/YOoARxoiwciCCmjbhEqivclSL+stGyD/f1CZ8tvK ehFxOgrUPzaqER6ym8e1HNbAbIio9uLKTr96Ubkc3fwQDR5yv6M1HSLtyzFI30qvRzAh i8+OK2o3X67qd8tONFk+cCy7ZdMa1MaTY2yHduq4NiYe2DE8OSKzWbZXPa2XMTl9SSOX d1ow== 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 v2-v6si4328539pgt.228.2018.07.11.09.20.27; Wed, 11 Jul 2018 09:20: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; 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 S2388030AbeGKNnO (ORCPT + 99 others); Wed, 11 Jul 2018 09:43:14 -0400 Received: from nautica.notk.org ([91.121.71.147]:49362 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387811AbeGKNnO (ORCPT ); Wed, 11 Jul 2018 09:43:14 -0400 Received: by nautica.notk.org (Postfix, from userid 1001) id 78624C009; Wed, 11 Jul 2018 15:38:49 +0200 (CEST) Date: Wed, 11 Jul 2018 15:38:34 +0200 From: Dominique Martinet To: Matthew Wilcox Cc: v9fs-developer@lists.sourceforge.net, Latchesar Ionkov , Eric Van Hensbergen , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Ron Minnich Subject: Re: [V9fs-developer] [PATCH 0/6] 9p: Use IDRs more effectively Message-ID: <20180711133834.GA27521@nautica> References: <20180628132629.3148-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180628132629.3148-1-willy@infradead.org> 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 Matthew Wilcox wrote on Thu, Jun 28, 2018: > The 9p code doesn't take advantage of the IDR's ability to store > a pointer. We can actually get rid of the p9_idpool abstraction > and the multi-dimensional array of requests. > > I haven't tested these patches, so caveat maintainer. Overall pretty good for something that hadn't even been tested! I'm done with the comments here, the three other patches I didn't comment look good to me. For [PATCH 4/6] 9p: Remove an unnecessary memory barrier, your suggested wording in the comment is good; I've offered to do it if you aren't going to but since you're submitting a second version of the other patchs I suggest you do this one as well. Thanks for the well-needed cleanup, -- Dominique Martinet