From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1F872A0528; Fri, 17 Jul 2020 10:36:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D49B1BF70; Fri, 17 Jul 2020 10:36:05 +0200 (CEST) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by dpdk.org (Postfix) with ESMTP id 2CCB62AA6 for ; Fri, 17 Jul 2020 10:36:04 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 51FAD580150; Fri, 17 Jul 2020 04:36:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 17 Jul 2020 04:36:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= d/V0uQ1+WJr/JU+JhAqiwcFDoPC4GBAihupK/5DEWsY=; b=j59Bw1YwTtb/mQem iJg4Ym356Ux1qOv3nOj34wRQiNokC+AdUxPPwrMyOP3wiqV1ly6aE21onWSf3hEu oikqyxWD7gbtfQ8QLFrf94MpgI0vJqAEZ+ko7F4+FJs8pWOGXJvLf2HPaLcNvir7 L5zzlvmkytaKPcmvoHw86eGhqnRR8JXKuMB2Du3zdIYFAboSRYrXOsgmvEVZUSnB gzWR+vZxL+CO/TDLjJ+wlNBv1yxeYsso5IvCYgiDmJW6livXKXPoSsiV545jThk/ pOxvbFfWET/E9szwyC5W8Zk1cGQqEMafyf8D0KYR4ZMRUaxvG5qXRE61PViZiWDP RO3NPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=d/V0uQ1+WJr/JU+JhAqiwcFDoPC4GBAihupK/5DEW sY=; b=pf6iRQ9HIoXwK9DHDidSkR4LbafffJUE4n6Q4SaJeP+eBMo7JuxWXhd6H SizNWVJMPZ4DkfxU2mOrGRDOqidA2iREfgUnqENYxHricUTEMezNREmFKy2R2P18 cP1IJl0WchOHbl6kWs3dKSUGg80HehR2fp2jBfx6bAhCATKBvPxQ8n3AS1wrtgko HpHpqSQU+vCAE3sGqOhthV/HDZY1hA156vz3zeyctnTVW+Ec2eWS6fuFpeOYFVRi HW6dAIH5/ATUkDGO38PkAwA/h2jsV8eZFmSINHP9kEx5TisUxlBmt1l1zkR+yOBt yOnNFtSDfJ3JgVlWI2oe6Keewlzxg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrfeeigddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DB8D83280065; Fri, 17 Jul 2020 04:36:00 -0400 (EDT) From: Thomas Monjalon To: Phil Yang Cc: john.mcnamara@intel.com, Honnappa.Nagarahalli@arm.com, drc@linux.vnet.ibm.com, dev@dpdk.org, david.marchand@redhat.com, jerinj@marvell.com, konstantin.ananyev@intel.com, Ola.Liljedahl@arm.com, bruce.richardson@intel.com, Ruifeng.Wang@arm.com, nd@arm.com Date: Fri, 17 Jul 2020 10:35:58 +0200 Message-ID: <6407830.sh6FQpANWY@thomas> In-Reply-To: <1594962519-20619-3-git-send-email-phil.yang@arm.com> References: <1594875225-5850-1-git-send-email-phil.yang@arm.com> <1594962519-20619-1-git-send-email-phil.yang@arm.com> <1594962519-20619-3-git-send-email-phil.yang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v9 2/3] devtools: prevent use of rte atomic APIs in future patches X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/07/2020 07:08, Phil Yang: > In order to deprecate the rte_atomic and rte_smp barrier APIs, prevent > the patches from using these APIs and __sync builtins in new code. > > On x86 the __atomic_thread_fence(__ATOMIC_SEQ_CST) is quite expensive > for SMP case. Flag the new code which use __atomic_thread_fence API. When receiving such message error, I would look at the explanations in the git history. Unfortunately this commit log does not reference the documentation. Please add a link and give the 4 direct replacements in this commit log.