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 D19F5A0A0C; Wed, 30 Jun 2021 21:38:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6135940141; Wed, 30 Jun 2021 21:38:25 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id B3E3240040; Wed, 30 Jun 2021 21:38:23 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id E86A720B7178; Wed, 30 Jun 2021 12:38:22 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E86A720B7178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1625081902; bh=uWJokdqlVGH4Y0K7YUL0KB5/0PGFoU/RfJ9DHLS63gI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mg+Ip6Tpq+uzFW1ReBIcvHEQ/BrDkVleZeQfVGNLuj4CdiAclmEK1uUPJ3NmTY8OJ lNyfKa40hS7dsogVycV8c3yuVLDOVKw0mB6iCJPhY9IjZKUJZNFQmb6TWLkUm0B/I/ lNcgCHGGyXA9AoCTPkNkIXgNf3n+BUrzbsXtqxLE= Date: Wed, 30 Jun 2021 12:38:22 -0700 From: Tyler Retzlaff To: Honnappa Nagarahalli Cc: "thomas@monjalon.net" , Joyce Kong , "dev@dpdk.org" , "david.marchand@redhat.com" , "stephen@networkplumber.org" , "olivier.matz@6wind.com" , "andrew.rybchenko@oktetlabs.ru" , "harry.van.haaren@intel.com" , Ruifeng Wang , nd , "techboard@dpdk.org" Message-ID: <20210630193822.GA21590@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20210604094624.31308-1-joyce.kong@arm.com> <20210617152155.GD29777@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <7557795.l8Y19qOmnl@thomas> <20210630185107.GA14701@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [dpdk-dev] [PATCH v2 0/8] use GCC's C11 atomic builtins for test 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 Sender: "dev" On Wed, Jun 30, 2021 at 07:06:31PM +0000, Honnappa Nagarahalli wrote: > > > As I mentioned earlier in this thread, GCC supports 2 types of atomics. "Use GCC atomic builtins" does not help distinguish between them. In "GCC's C11 atomic builtins" - "C11" indicates which atomics we are using, "atomic builtins" indicates that we are NOT using APIs from stdatomic.h if you need a term to distinguish the two sets of atomics in gcc you can qualify it with "Memory Model Aware" which is straight from the gcc manual.