Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4909318img; Tue, 26 Mar 2019 20:46:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjuqOcGRvqcqfP3X84DyQ4ojPzAAKGAgkfL1XpCas5rnHHnnr1VhiwSkLk820HvP6tzjAg X-Received: by 2002:aa7:8518:: with SMTP id v24mr32992897pfn.219.1553658372483; Tue, 26 Mar 2019 20:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553658372; cv=none; d=google.com; s=arc-20160816; b=Mhzw8ZFvWHFV2LjZmKTPHWfPxFFbSqLQuM0+YolvO41fP+nV3/wA10QEo8yQwrRFVH rTvDOCH9FCqiCHR8Bb3V1vYy1JpJ7V/i8de3GwbfDiK4eqOSD50aO4EPKLcYyQp97STJ WFO8sSBysYQ6I/lxyvygUvb0XZEWA2Ozo02uhvglv6bNcz0YyfF0IPgbRAyl2Fr+1BNJ 1rMwAtz+F02dcg/kYx4QnsLMAPoaVoaBLaCmplhyYMCCYltBYF2qqlv+HwMm9b/yxGH9 JUsRdbtBZ7dLEnHBLP57zwCf9e8E6pCchTJLNDCAFXbQQzezrgn2yLnjmDwe/bP1ZHvT NHQw== 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=uwfw50/zneWsdQFfvzSP8lrVxoftVU30jPF5dVdXA7Q=; b=0ZzZChwsA4hlKYB2pA48lG0k+7/i89oxOBn+CSMjVMTl+akA3Ux2VkFzv+wK8cwPgM IhSJH6umV4cL7LaR1D/ymPTBemff25dYJahhySFfwNl/oCyuyetw+6s/ygsorCE9G7eJ BkK3DDiYsPF/Ru6ysb34ssf1FmdtrvxiaOs2WnTlbMg267Gwou0PU/R0MGEPuucdGrGh nYwp48ZUjkhmFf8nNHHjTrDEDiEojj3/2fCHueU+Dr5iFm5mPuoaOAhOyqmjnfSqfgo0 p1AM7vBSr9ZEod0tGBNN9EBlIKDg5Ntd9HAeVZSYugB8j4pYSb66aL0z1RsxgHsz1V0m LeiA== 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 64si18651279plk.279.2019.03.26.20.45.57; Tue, 26 Mar 2019 20:46:12 -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 S1732470AbfC0DpW (ORCPT + 99 others); Tue, 26 Mar 2019 23:45:22 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:40562 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727328AbfC0DpW (ORCPT ); Tue, 26 Mar 2019 23:45:22 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1h8zV5-0006Kb-F0; Wed, 27 Mar 2019 11:45:15 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1h8zV3-0003sU-Pn; Wed, 27 Mar 2019 11:45:13 +0800 Date: Wed, 27 Mar 2019 11:45:13 +0800 From: Herbert Xu To: "Paul E. McKenney" Cc: NeilBrown , Thomas Graf , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] rhashtable: use bit_spin_locks to protect hash bucket. Message-ID: <20190327034513.x6q6nxcw2hhqfze3@gondor.apana.org.au> References: <155349021177.1111.15681654355431465791.stgit@noble.brown> <155349033961.1111.18247269615646768227.stgit@noble.brown> <20190326050320.gwk3tgtqwl5csivt@gondor.apana.org.au> <20190326153646.GL4102@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190326153646.GL4102@linux.ibm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 08:36:46AM -0700, Paul E. McKenney wrote: > > But you are quite right, rcu_assign_pointer() used to just do an > smp_wmb(). It is now new and improved! ;-) Thanks for confirming! I had forgotten about that upgrade :) -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt