From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 30FE542D10; Wed, 21 Jun 2023 09:29:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05501406BC; Wed, 21 Jun 2023 09:29:40 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id 7AD494068E for ; Wed, 21 Jun 2023 09:29:38 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id EA5A5320097D; Wed, 21 Jun 2023 03:29:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 21 Jun 2023 03:29:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1687332576; x=1687418976; bh=yzSxAAfbEvJ0f5i9UlWg93JAQg9xo+LeR7O 55LiUGII=; b=bAgY2uP78YBaxOBh2kL7OnVg+PLOodeMLT0Txuj081U1JREM/jl 6tn0642lcEMwLHuSNTb30ZOTtnkKCyksSwpzF55x3gbFHpmZEEO4U801O83G+EBA DKfBOjZ4+DP13slLQ/ciPc66NHpbfxWLm/myJkEQVj6tChWZ7R6sup5vk1tZB2xh T0OCOakZNBB9fJsjZQYYUWhcZoq1AICZBr9gygrpR86Uqya8/jeXa7eB6uucR1No /ZgRBRFDN5FwURqVlTKVKM+TKVMDvPvtosPOq/fFgVuWQew3SU/u82gMbHtQ50ng Ftc93sCzQfXV3d/FUJ9netS47OngUKSPTlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1687332576; x=1687418976; bh=yzSxAAfbEvJ0f5i9UlWg93JAQg9xo+LeR7O 55LiUGII=; b=NMqvNtxnJ8xTG9oQeLmb3xueGvAMo3NnsuVcsy7gMnuz7ebrelr Pqh7ZRZ9J6ugkDVAXRLxE3gpwiLpEHfbx7DlLDIVlcaReyIt1GIjPiPseJdP6jYb wb1cHwyVwSJdI+cnlyrIqpDewChaTqm1aqFbmiK8NWtk0P/OxzJLozhGTB6DL00O BYQGR/AE3UTxr8hDJkrwDLljmCZ4oZGmzjXnk7hrpz3ZNroQfT1q6fNeMBrUcGZ+ r9kklBzXN4pzZHCGfCridRedbMd9HVDXO8A1C3BXgGv/UNDPyCF3vB79jzb+S6qV iIOsn36nvJZ6wzkivQDpXX4xk+Y9jp84n/g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeefiedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jun 2023 03:29:34 -0400 (EDT) From: Thomas Monjalon To: Ruifeng Wang Cc: david.marchand@redhat.com, dev@dpdk.org, konstantin.v.ananyev@yandex.ru, honnappa.nagarahalli@arm.com, nd@arm.com Subject: Re: [PATCH] eal: add notes to SMP memory barrier APIs Date: Wed, 21 Jun 2023 09:29:33 +0200 Message-ID: <2110866.OBFZWjSADL@thomas> In-Reply-To: <20230621064420.163931-1-ruifeng.wang@arm.com> References: <20230621064420.163931-1-ruifeng.wang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 21/06/2023 08:44, Ruifeng Wang: > + * @note > + * This function is deprecated. It adds complexity to the memory model > + * used by this project. C11 memory model should always be used. > + * rte_atomic_thread_fence() should be used instead. > */ > static inline void rte_smp_mb(void); I think it should be more explicit: "the memory model used by this project" -> the DPDK memory model Why it adds complexity? What do you mean by "C11 memory model"?