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 0C62542803; Fri, 24 Mar 2023 20:22:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E46F2406B8; Fri, 24 Mar 2023 20:22:48 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 19CC04021F for ; Fri, 24 Mar 2023 20:22:47 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 0817A20FC447; Fri, 24 Mar 2023 12:22:46 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0817A20FC447 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1679685766; bh=p2hssEVGCHTFbzSu9sDaWmL6eQyhR4I31W8ekrIOb9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PFE1Ty6h+Lll1uRNpanA4JBXNhgdjn3lXDfB0LN3H/Lq3xFjLSUdptKU1OeVXh72I E13ZrbyzfyhNZd0DgSu8/nz/i0KwQtCAAw8OKUl2GUtlqC5/S6LDfTZ4Oary4KMTbU Jgdrf4tdFdWNetmIThi+am59Hq4Jo2jmW5Mok80c= Date: Fri, 24 Mar 2023 12:22:46 -0700 From: Tyler Retzlaff To: Morten =?iso-8859-1?Q?Br=F8rup?= Cc: dev@dpdk.org, Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, thomas@monjalon.net, stephen@networkplumber.org Subject: Re: [PATCH v3 0/7] replace rte atomics with GCC builtin atomics Message-ID: <20230324192246.GA7553@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1679084388-19267-1-git-send-email-roretzla@linux.microsoft.com> <1679612036-30773-1-git-send-email-roretzla@linux.microsoft.com> <98CBD80474FA8B44BF855DF32C47DC35D87808@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D87808@smartserver.smartshare.dk> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Fri, Mar 24, 2023 at 08:09:50AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roretzla@linux.microsoft.com] > > Sent: Thursday, 23 March 2023 23.54 > > > > Replace the use of rte_atomic.h types and functions, instead use GCC > > supplied C++11 memory model builtins. > > > > This series covers the libraries and drivers that are built on Windows. > > > > The code has be converted to use the __atomic builtins but there are > > additional during conversion i notice that there may be some issues > > that need to be addressed. > > > > I'll comment in the patches where my concerns are so the maintainers > > may comment. > > > > v3: > > * style, don't use c99 comments > > > > v2: > > * comment code where optimizations may be possible now that memory > > order can be specified. > > * comment code where operations should potentially be atomic so that > > maintainers can review. > > * change a couple of variables labeled as counters to be unsigned. > > > > I didn't see the v3 when ack'ing the v2, so in case v2 is quickly skipped by maintainers... yeah, my fault. i hammed up the comment style used and needed to quickly submit v3 to satisfy checkpatches. thanks! > > Series-acked-by: Morten Brørup