Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp842468pxb; Fri, 22 Jan 2021 00:01:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgP8ZeCNZXMGnB/qU3Np4LkjK4zNI8qWLHyifGlfGEIaSrxYcp66myS5zr4gNbXXsLVffZ X-Received: by 2002:a17:906:351a:: with SMTP id r26mr2042040eja.409.1611302507114; Fri, 22 Jan 2021 00:01:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611302507; cv=none; d=google.com; s=arc-20160816; b=w/3ho9FfgbTItBt6CoE25qHjfnzitL2vnLCSeXeGiJx6LSBjJnKFYv23b+hie0YZCb JoQLLF/iawUoJdIIM5G7lnXcdPc7TEKg9dZeu1OiyI4AdOAQfIh1ZKeqn/4Bcy7p7YDY 9Nh6cpGpBvoDc2K/bY2xUgicoXkwcR8YPfmNpOU3175nMpscDfEVa0T18iQscXiGAjAq wqHxpcZskqw9MRf4F8Um+fmy39Vj8VRJLM56E9iHLSGpjQ7tmzSc08AoH8vT0uVNG6Pc SHvhaNcOl2ZoLVD4kp+7Dcef7jfhfEmSwY/czvlRN7slTaW4S3N6P9v/V57U3FBYxnMV Bzzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ghnadlxX//ZiQook2l1GlNaZyWjx/ql4SAS5tLoGvvE=; b=ztApg4VzmL6gKlsN+NYRi/y6513elEEepgnqAv4uaPv65WuZkEpF6AiYco8iK2916D Z2oUBOjZtcM+5hhPdravAZc4/H5hZ9IktlfM26ndt3OnbnUhi0TWAlxMUMh8LLPYKluP vOf5bUkIaKREXRrIU+LfYL404bvgAizfE3VsbJlwY8oPmiCYFToWIAE4B5HO4skiOZo4 t4ZRipjN99695BJ+v3pqT5qynlNhsLlpc2SWnuzV31jL+dDYTlIyk3U1QWfKofQ7MJtF dmRLq7SfdwDTSLbYsQh20AjmW4BQX0/Oj0MFrk/NN4q45X0msQ2jpK5ggOT9MOMdW0lL 3Hew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BtoJYPRT; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf27si3175677edb.184.2021.01.22.00.01.15; Fri, 22 Jan 2021 00:01:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BtoJYPRT; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726688AbhAVH7g (ORCPT + 99 others); Fri, 22 Jan 2021 02:59:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726714AbhAVH7Q (ORCPT ); Fri, 22 Jan 2021 02:59:16 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30CAC061788; Thu, 21 Jan 2021 23:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ghnadlxX//ZiQook2l1GlNaZyWjx/ql4SAS5tLoGvvE=; b=BtoJYPRT87oYLm2KD5ZYGV2reA qhK5qjwuvb3KER8N0eJtnCyEMYwGH7wLo25MnIv9PVWV9SQFv2EHiKRHAJf/EOJ9rviDu9qm9nRL+ dZOTkVv/+iNOtY1AfE+QZAvwdZBg4cUrxQJ3yhbvEpxVNfc/Z0I/w6k4psPzONHS1eV73ll0ENosi mWKphIB1YmqV9htMS+UUolxI1eihsyZJTcXkPnBfWKAYtv/YR8Y5en41PLTFLVl7WgCIyVBBCP9Ki 4UXiQgCiyfRJAK5URh6c6XhlMk+0FRyx2BuDky2OaimCDETK5cSUcDueQufnMHFNoQx4yohZFwo1L HknIBy/A==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l2rKS-000U7J-B9; Fri, 22 Jan 2021 07:58:04 +0000 Date: Fri, 22 Jan 2021 07:58:00 +0000 From: Christoph Hellwig To: Chuck Lever Cc: linux-nfs@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH v1 2/2] svcrdma: DMA-sync the receive buffer in svc_rdma_recvfrom() Message-ID: <20210122075800.GA113908@infradead.org> References: <161126216710.8979.7145432546367265892.stgit@klimt.1015granger.net> <161126239239.8979.7995314438640511469.stgit@klimt.1015granger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <161126239239.8979.7995314438640511469.stgit@klimt.1015granger.net> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, Jan 21, 2021 at 03:53:12PM -0500, Chuck Lever wrote: > The Receive completion handler doesn't look at the contents of the > Receive buffer. The DMA sync isn't terribly expensive but it's one > less thing that needs to be done by the Receive completion handler, > which is single-threaded (per svc_xprt). This helps scalability. On dma-noncoherent systems that have speculative execution (e.g. a lot of ARM systems) it can be fairly expensive, so for those this a very good thing. Reviewed-by: Christoph Hellwig