Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1165862pxb; Fri, 21 Jan 2022 11:14:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxqca7jm/hEIRJkOKGueJ6EOBp0rDqj552+jSky9QYdw66dAxHSXx0IdEM2sht3/xUQ7PG X-Received: by 2002:a63:be45:: with SMTP id g5mr3928821pgo.309.1642792497855; Fri, 21 Jan 2022 11:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792497; cv=none; d=google.com; s=arc-20160816; b=IpSvJXyA/q7bsP32P/WehZ34i3dOa2JJqSuHtEtJDnvYuU/DN5kU34FkSTPZ3s5Fdd l91HPFkCKokVw2yGidDeqSlyfWvAnRcKklK05ZZdyFYCXJPeGmumNaN7Sltj+V+YqXTi qLqd51+TtBJhmSpJSzTaztV4SSoMFD8Fj1RLBKJwt2kECz6NSWqF3fquLeJJF1D7aD4z kJPlVCPMxE5ODLdgV/kKarwEZWmEoeyCwSk59VEPD8b9/2RJ7AD8S3dNJhXlP9jwDVsB h1Dm82WO9eyn0aMzMsOpay0NDVmjMR7t6mzZ2T5hXJEbERSui4hZpRvQofMrFziFZsfP 6N8w== 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=uLFGZqyJySmbyBQ4sjesJ1t4m/84/5hhnfPmzo+DBaE=; b=PBnrHudo0g/kkfCMiTHc1VPpqewcU3GRO8kztY/3jxqXxz7eeAa31kaJ6e6Y0zkVGC qjbuh9Tf4VXRVV/r8sKu6tG4z5k20ZQQQhG8OBWYfVpBzCVrxxBDydzjGjYnSyVTd6Yt vLnboeTH5saPtR7WofSJsF9ZfvByjNs67Xj131iZ6KKs3EElKFxb81vBes6P0a5lrAZ5 codl4FYkeWHT0PcGEjRl7/Ajt8xXfWu8IxGO044+Ad5EsdADYS75oV2ObXDhOoUO3igS bRLtF2RDNUUUS5dktd4K21AHYx4d+5VfxC5q4+a+DyE0Rtz0YbVG9fRcRbn8R9C+zFfo OjRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=HQt2tqp6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 a15si783010pgp.549.2022.01.21.11.14.45; Fri, 21 Jan 2022 11:14:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@ziepe.ca header.s=google header.b=HQt2tqp6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354716AbiASNRe (ORCPT + 99 others); Wed, 19 Jan 2022 08:17:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236079AbiASNRc (ORCPT ); Wed, 19 Jan 2022 08:17:32 -0500 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6937DC061574 for ; Wed, 19 Jan 2022 05:17:32 -0800 (PST) Received: by mail-qt1-x82c.google.com with SMTP id d4so2248407qtw.1 for ; Wed, 19 Jan 2022 05:17:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uLFGZqyJySmbyBQ4sjesJ1t4m/84/5hhnfPmzo+DBaE=; b=HQt2tqp6zGYhfblEra0zM0+FR6k6EeUJiZDEUZWXH2TZNLdPWXYj3HNzafScmi92E0 6ZwiRGFw8bnL8Fu6BT7PEjlwuEMVONf2ofHY/L5Zm3cdachcT8xjhh4icQvmmpFmQXkO Alu2+h+b2rBAnr1viwICoF32r6L5GU4VjQtMYktCOVD5Bp8Pud77VHQvOJvANaKfk3Ej /f0v9Q3eGOB1k3u+jaPh+UYk8XSzOZt08O9+1HIRfDAngLpd1S1IWB9zV/4jhRmeYK0C /t7DktEQ0t/YYeDUjdVlErCHCMRg6ToT8TpX9gu4KqI8twNLG6WN2JfDFVR6iS1DUSuK C6lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uLFGZqyJySmbyBQ4sjesJ1t4m/84/5hhnfPmzo+DBaE=; b=KQBrncKxpWgLBBxmhjXL9KRSB1gprNHv9J1ygJrS8i5G1uuvxSw8+5+Llxikxqt5+9 GYn16EYTyJG9Xmqlghv15SM7xwdJ976H9VT1qaoFexXS30VxCePajij6Ox3QAHHehB/D 92X++NTz//ZKKucXUVlmO7QfrexZDMpJVO/vDiRoK8226ytv7gbTvBfIj4qCK/RIs/Py 2bu0b77Y3AgBZwoYNHJz14Rch0AftPPMEoCR5lacPwksJ+wOAJs1lQUNhRupUX2TMDQy /pfWtbTvLpGfHYhnvDDgiqH0u++mKglS971v3si9FFoMNzQKQ4pSHGABR2nPLguLMu4N X9kA== X-Gm-Message-State: AOAM533BMSjY/rXmm2eugTyECPpA/hKJ8cDfQJDU3u+GeBVDOXrNvhz8 z+4HCXO7nqdxNdENcPUo+CRBYg== X-Received: by 2002:ac8:5cd4:: with SMTP id s20mr18611650qta.299.1642598250063; Wed, 19 Jan 2022 05:17:30 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-162-113-129.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.113.129]) by smtp.gmail.com with ESMTPSA id i14sm242296qko.18.2022.01.19.05.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 05:17:29 -0800 (PST) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1nAAq8-001IVe-UU; Wed, 19 Jan 2022 09:17:28 -0400 Date: Wed, 19 Jan 2022 09:17:28 -0400 From: Jason Gunthorpe To: Praveen Kannoju Cc: Leon Romanovsky , Santosh Shilimkar , "David S . Miller" , "kuba@kernel.org" , "netdev@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "rds-devel@oss.oracle.com" , "linux-kernel@vger.kernel.org" , Rama Nichanamatlu , Rajesh Sivaramasubramaniom Subject: Re: [PATCH RFC] rds: ib: Reduce the contention caused by the asynchronous workers to flush the mr pool Message-ID: <20220119131728.GK8034@ziepe.ca> References: <1642517238-9912-1-git-send-email-praveen.kannoju@oracle.com> <53D98F26-FC52-4F3E-9700-ED0312756785@oracle.com> <20220118191754.GG8034@ziepe.ca> <20220119130450.GJ8034@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 19, 2022 at 01:12:29PM +0000, Praveen Kannoju wrote: > Yes, we are using the barriers. I was justifying the usage of > smp_rmb() and smp_wmb() over smp_load_acquire() and > smp_store_release() in the patch. You failed to justify it. Jason