Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp244043imm; Thu, 26 Jul 2018 18:05:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcDnszfIBZfoZyBmrqmydIsVE7wRDaAUO0LIVruVt6jrtfIsHFO6tlYPPVd2MQr0Cqr/J/j X-Received: by 2002:a17:902:988c:: with SMTP id s12-v6mr3964074plp.199.1532653554233; Thu, 26 Jul 2018 18:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532653554; cv=none; d=google.com; s=arc-20160816; b=h5UNl/nKWWeUfFqp2eAVwWjQ+4K8UyNzHPNquAgAONEM3MXcxsX7l44Z1LWodC9W1G q5481js388yU+HkWt6kuLJ9GBAgOCWIVXQlDBJWE1ETSO+PvG+l8tPdTWDZtQOjqQiCV 9dSaY49eU9qZigEbDBX/tivgFaqZrA/cSwyCJ2JB2Hr9NxinJ+ppNK1YNzAo+e7/pUE3 nPI/5RpLBYKFN0EuukuOyBJi7vZMQhcTBEOEqa/d7cK2cy+trHVOfxqqGh6X7T3GEgJB yL2etDfCTAQ/3Qi982mrV2DBsLX/Bk/y9IKIl0QAZr1Dp2XRh4DfIRgiEJ+2MA5+eAoX bJgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from:arc-authentication-results; bh=jRrTLNxfLXqZ0lMq9mbF1/XvjPByuyRZu6SRRStgRjw=; b=OZ4dK3XQAB7J7Mbw9CbLp1/e/kyvOzyFi/oj7eUd2nri/ABlgf6fJXM64BpVW83Uyf U+deyp8rq3qzfr5dvVy+EjF79xf9oBzty34i2eqnxozuI8vz2zCtVjCAp1ncGIGTUuEN zHw1U3DozarpSDKxUQ5anMF1v+422ZiQN9EPWC4gtNRcNTRaWCWKAcNK5JpIyixiGK2p HDg0UQqTNaRPFfMewoufjKMDhaorSPBW6kxBi8/v/g6vFHd8yt+e6XXcI/tpo8Ni0aao 3zbHKBZJGsUiJyQKN7R/OWT4ffF4aoRpsRY2NLUJ6QunVBhMxXMX6xeJeom41qRczG6F yesA== 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 l18-v6si2795520pfk.78.2018.07.26.18.05.37; Thu, 26 Jul 2018 18:05:54 -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 S1732028AbeG0CYH (ORCPT + 99 others); Thu, 26 Jul 2018 22:24:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:55588 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731924AbeG0CYH (ORCPT ); Thu, 26 Jul 2018 22:24:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 4202FACBA; Fri, 27 Jul 2018 01:04:46 +0000 (UTC) From: NeilBrown To: paulmck@linux.vnet.ibm.com Date: Fri, 27 Jul 2018 11:04:37 +1000 Cc: Herbert Xu , Thomas Graf , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] rhashtable: don't hold lock on first table throughout insertion. In-Reply-To: <20180725152250.GN12945@linux.vnet.ibm.com> References: <153086175009.24852.7782466383056542839.stgit@noble> <20180720075409.kfckhodsnvktift7@gondor.apana.org.au> <20180720144152.GW12945@linux.vnet.ibm.com> <87muulqq8q.fsf@notabene.neil.brown.name> <20180722215446.GH12945@linux.vnet.ibm.com> <87h8kqrhi0.fsf@notabene.neil.brown.name> <20180723205625.GZ12945@linux.vnet.ibm.com> <87r2jtpqm4.fsf@notabene.neil.brown.name> <20180724225825.GE12945@linux.vnet.ibm.com> <87in53oqzz.fsf@notabene.neil.brown.name> <20180725152250.GN12945@linux.vnet.ibm.com> Message-ID: <87r2jpmqu2.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, Jul 25 2018, Paul E. McKenney wrote: >>=20 >> Looks good ... except ... naming is hard. >>=20 >> is_after_call_rcu_init() asserts where in the lifecycle we are, >> is_after_call_rcu() tests where in the lifecycle we are. >>=20 >> The names are similar but the purpose is quite different. >> Maybe s/is_after_call_rcu_init/call_rcu_init/ ?? > > How about rcu_head_init() and rcu_head_after_call_rcu()? Yes, I like those. Thanks, NeilBrown --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAltab6YACgkQOeye3VZi gbkBnw/8CeuzYA5hyw2tgVVSLLbJENMQRI3ZCS4oRl1PFsFgHCJ4Mp5hjwuecZfh fzvrc0Ug+acesG6QlswuIf34Xp2ved3gc+2gLPaUhMRixl0GlS0S9nDUXWZuIWvh 1PEJiV+GSxE9h3ETML+xGqbff3rW33cYx8ZSzUrVvvNbnaf2ZBN3Zt2oSdqgQPhB BPGtU7XVrDapC7KTOM56p8lBf760L9gSP1Yx8AEQ7KCzBSdNXCw08UM3chvlVCrx Am45SZfX4AwqvZFUN3Cvg3CmhD4zyLV+lwCdFuwsYn+O+TlVDOrEldm2WzCcZd2K SipdmhhctYs7RusZZ9L1g/GDX5dLzuxiuriqqdUwGU0VQKg5H0FMGLrUDsYydXDQ XDM2Dg8vbN/hjftqK2T24LVn27Mqs3g2bsGF896TE3zyxC1iGSGWst0tne3R6aRn VwRzFCtXTa7T9cwly/XWjalKABNs2vkzbzBBokgOkf+kdrgVfx++NPQvt5tuv+Ch zpGVsy8hRzrNmrWDyzC/qGnqDhggYbpjsBn7BETHQQZ5Joke9eSWfk4zW9r9Gi8J oJuw3trqpZp84lEG2Hgd243vCpttXLIuTYr3nXuCbhAtXMhO67MkPmJ93oQRDo7l QzZgZj2eQnIqRY9KGnGbjqmVuJLa6F2EAVRuFzrtmo85FBK7MJ8= =DtVe -----END PGP SIGNATURE----- --=-=-=--