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 BC7C2A0A0C; Wed, 30 Jun 2021 22:26:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AADD40141; Wed, 30 Jun 2021 22:26:01 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30048.outbound.protection.outlook.com [40.107.3.48]) by mails.dpdk.org (Postfix) with ESMTP id 9E60140040; Wed, 30 Jun 2021 22:25:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZCwPvk8RCyAUn/J2Ze8P9BrwPgUawAayII6KnqL5h7Y=; b=R9QWxVfcvzRO2eXkG9LtCzCJtb/a5OcuBddKcSEBsF5anmjOc83dddlUncNeuBhiJi9B8xpJNTMBu+Fll6eRVb2KRL8dObICFPmpg7zDRPW6lPcyu10sIIUDEZMQQ2p57wsKCXOriKMtv5QT/YtiTc03McEPSrNx+BMmlcTdxWw= Received: from AM6P195CA0008.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:81::21) by DBBPR08MB6315.eurprd08.prod.outlook.com (2603:10a6:10:209::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.19; Wed, 30 Jun 2021 20:25:58 +0000 Received: from AM5EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:81:cafe::ce) by AM6P195CA0008.outlook.office365.com (2603:10a6:209:81::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.21 via Frontend Transport; Wed, 30 Jun 2021 20:25:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT041.mail.protection.outlook.com (10.152.17.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Wed, 30 Jun 2021 20:25:57 +0000 Received: ("Tessian outbound 80741586f868:v97"); Wed, 30 Jun 2021 20:25:57 +0000 X-CR-MTA-TID: 64aa7808 Received: from d6f6467d2ce1.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A913688A-C38E-41E1-B6D3-660DEAB19421.1; Wed, 30 Jun 2021 20:25:49 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d6f6467d2ce1.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 30 Jun 2021 20:25:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mrOdOb5yga3xaNtzHxGjhNtz0SWhqRfmFY/x/u5uUJuJUS3XLN1mT1bVJbe7CjoxtRspuN8jFW+giyyqqgkkbYSCbIIMtfVD3ZoC4Au3UG6CNRVH2Fe6w4Srweas96YsiKjcm3XtfCFKPxK9h8HHUug4BSe9Fq8vSYh0CYqLczORhAtVhfimyJ+Kz3J+GnHyhy0au6HM3fQr2aT62ivYQ7rh/J4LjD9uX+6KgLbPwVNuQBk9LB+0jiEZVn0e26F6ZENcpBPC/iCoahY3Y9J2kUNKfkE8aowA3GSybPOyUrsLa+OZae+Dr3Bmx8MqPV8eeRb1Qx6wCPQhwAPHqn5gjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZCwPvk8RCyAUn/J2Ze8P9BrwPgUawAayII6KnqL5h7Y=; b=cwRwGNWlEie1tGWVZPORbvy53YC832SFVSCtUcIff1LkyhKFCYVyOruTSo6DN0oVLU02u8H2NZuwAWxMNcyBiH+5jRqACrGSiazTgUBqq0NdB41q+wOF9UmoEsxLW60D+4gcCA6OQyNYqr10+C8OH5lEdpxFSS3pXdIZJ7e3rmAqaoW6csaPkWGn1CjbYL7jXkGMHAA8T+JD7DSiVv/gzP19p2iB5XV0uvdmyMHfLZB4GoTVmiKVMVkE1hn5eIoKAr0dFT+J8PC9lvGH2vlEBUJ3wL01i2WS/1z2PEt2g11SlvUzdY7yZTCirthF2egJu1Ytm+Wc9r0FJc5rz/P0tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZCwPvk8RCyAUn/J2Ze8P9BrwPgUawAayII6KnqL5h7Y=; b=R9QWxVfcvzRO2eXkG9LtCzCJtb/a5OcuBddKcSEBsF5anmjOc83dddlUncNeuBhiJi9B8xpJNTMBu+Fll6eRVb2KRL8dObICFPmpg7zDRPW6lPcyu10sIIUDEZMQQ2p57wsKCXOriKMtv5QT/YtiTc03McEPSrNx+BMmlcTdxWw= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB7PR08MB3211.eurprd08.prod.outlook.com (2603:10a6:5:27::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Wed, 30 Jun 2021 20:25:44 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::f15f:821c:74c5:2482]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::f15f:821c:74c5:2482%2]) with mapi id 15.20.4287.023; Wed, 30 Jun 2021 20:25:44 +0000 From: Honnappa Nagarahalli To: Tyler Retzlaff 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" , nd Thread-Topic: [dpdk-dev] [PATCH v2 0/8] use GCC's C11 atomic builtins for test Thread-Index: AQHXYlsX55q9L1IEsEyhls7s9yhriasYVEyAgACD8ECACJcSgIAJ3QFwgAGwv4CAAAHDMIAAC3EAgAALihA= Date: Wed, 30 Jun 2021 20:25:44 +0000 Message-ID: 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> <20210630193822.GA21590@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> In-Reply-To: <20210630193822.GA21590@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: F9FFCB477FCFB4408597DCD6D9DE3036.0 x-checkrecipientchecked: true Authentication-Results-Original: linux.microsoft.com; dkim=none (message not signed) header.d=none;linux.microsoft.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [70.113.13.105] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 27d0c40b-2e82-4f9a-04a6-08d93c05449b x-ms-traffictypediagnostic: DB7PR08MB3211:|DBBPR08MB6315: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: LgN6l0C3QMFluxJf4NtNmEfWpOaT6US4E4kn+ppI89nRDvP7OtrTyD434emN0ChFhiCYLYtHEog1gZnMoQtO846pDabewu6KsBIKa07oj8uZi8WHjAc0hfAlEK5PgVtXwlr880jusFemwKf9sM3flOnSUSIhRNXii0PTYib+BOCw5iCALC2VKXxNfqHrE3vdhpqNblIuk03k85LjfyTIPrzzw984vxfssWf5el/OcV683quGwnpzcSLEKk6G5P01L7nz1b7BQXB0/cOQM/lZhoM80PKhhBlCsjoW1bA3lqQMVUSKn6a6k2osYLUI0cGPNYnBZJdd8WMuu5T9uNaBXbuC1A79fJgvpJji+RcJxAQTXwznfrbW/K+btmflzP29IQCFAy1RPyoEOR+d6BICYY1uOqfQvPPlrFdZAtmLA/u8n80a0T9TSGHK+bC18KvBktiLlsNmdUi3WowObjjnhIzpueoXvJm2Rpxx61jsv+WPeisO1IwPYgnxM0255qsiQGXU61yWd/rUEsJSL/iKXfP0mpyx+syDkNrpE6EDR0EfR3tOriLLcQLL5OABGG1ZH/XFmYbX98dv3wbRh+JdKLiwv3aA5DARqmi3snqEYKmmAKZUmMCyq0zmhH66yAUDpU5YJoLLxtbQyziTFucTXiLKxKj+zuiYTJL4zeHATnwsUnUteSRMeALW8lGrpLWm6T8doI8a0qe5OTEp7fh06MU7eaDc4m/wtoTWEzZ07sAbwY6lmsDq8Flc04PCtXKpftaqMXBMszCX/ienpFl2cw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(39850400004)(136003)(396003)(54906003)(83380400001)(7696005)(2906002)(4326008)(26005)(9686003)(4744005)(55016002)(52536014)(186003)(5660300002)(66556008)(64756008)(66476007)(478600001)(66946007)(76116006)(33656002)(8936002)(6916009)(966005)(66446008)(8676002)(122000001)(6506007)(86362001)(71200400001)(316002)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?AUiKR8XFERicukVNQdGwFHtU4uqaZblJykWI4wo7PhqiSYH/Cgep7dEfA02v?= =?us-ascii?Q?Ta9rnY0gmBl4Jv/Xpzg2eFUzMuMyFz/oOn3IMErhGhQhIlzjklRQbslwytgb?= =?us-ascii?Q?fK/xRXgWg5MipEKCC5W8mk/FxnGCryaJkYcmhL6i6dnzK3J+B57Uq8m7COzO?= =?us-ascii?Q?d9csycEqBlOcqx63rTFeIMIp1YkM1/Itp1z8Wibgui4FuXhZh9cszkbuctAv?= =?us-ascii?Q?+/jWeGztz/AbF2mCZbGsAT/VBoe/y4DnkP++r73kdQobU8FLk80YYPqRGFyc?= =?us-ascii?Q?KJ5rhkqu/pQaP4Y/z8vfWKhVNOn1y6nl3zDjTQHetUeQpN9oEOUIjDRIPtcx?= =?us-ascii?Q?DE+cQK+OjQiNsMYikPB12o9nA0kziYg1EGusEJg8ex+J0xChJrUyCKgHFiiO?= =?us-ascii?Q?WnRZ7XZSjCiFp5/zQeoHV3PcyduEOtfk2qSCdby4tGLXt1LYadlcmvje/Za/?= =?us-ascii?Q?gZQ9nXGivqo/dRtHvTtOOSEBwm3qqLcDal3CKfQ1qK1SvTxdnzGbRb5AqJGP?= =?us-ascii?Q?PtJ9wt3CMLTUMzy9/M+LM7mh4/Wx/zwbZO7oZxf1QKJ1bjkijAsjzDGsFLcj?= =?us-ascii?Q?bAJOiR5GsPY1NVGsOF0AN+B8yci6X8HRtN9sXrGcYmgsZu1a193TK0oyR5kk?= =?us-ascii?Q?woacK7CJCaUZSlQV2SgSAyKEbVklvZyV8JFVN9MJr8rmMo7CrFx07auQYvD5?= =?us-ascii?Q?WI0zCzqLSi7rFsv53L+qQ80NGAkYixQJGrKjLwkwCFLA4k/9oMRLABX7cqDR?= =?us-ascii?Q?DbOF2579o2e765GozdYehakxshqO/yA1RAf8utCitVZZP1aogKUE3qOMqJhr?= =?us-ascii?Q?+3bbqMIsj/eygybyB5zvfhFZ+s33psM+soeIRj/fo0aUq5eqjifmgPTwKvVn?= =?us-ascii?Q?hO8AxeI+4T8gHGD4q+1eHAL8hmhLEU55PKsjlVn1yBHvSIZ8tHxVC7BsP0B5?= =?us-ascii?Q?z+Jh4xXqlmmj2HqjNVB6BqGHKGekOulohLwPyKegMFev2q0cNmIMFJPWqkjy?= =?us-ascii?Q?KQEPsKWimWrRHPb2O0TfC6xy9HHZmXggeQ9Ov8QZefFetnyj5pb+YMtlCoNM?= =?us-ascii?Q?YSYbIJbnL30SLYIXc+3rHdEBov5Qqdt2OeJGGBDNus7FTAPNLeJqthXeKRlT?= =?us-ascii?Q?Top6pcf8QhpnAJHg3q9Kr/257REgoqG77MjOMJrr/3V/nvwzoc5a3zu7O7vY?= =?us-ascii?Q?Jux+t6Sh1Arbh59wtm7QHPd/Iv2UJPbUBmQ8OCD4Z8U6EzwjUeL4kKzF/Dy0?= =?us-ascii?Q?eV1YjLziusP9ifh/aZdOCmGI+qf8dhAnP36LG38iROvbUIkjAvr+LzzRygJG?= =?us-ascii?Q?T1jKUt6amr5D42/ZDSozutvC?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3211 Original-Authentication-Results: linux.microsoft.com; dkim=none (message not signed) header.d=none;linux.microsoft.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0271316d-9bfd-413e-c77c-08d93c053ce9 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: syavka+fpR0JJwUN0n1FwsjFGSteWkA/bNNyO7Iw0Vus/GwU/i5s05CvYXizwX9RPyIwIRkekFoT/slVrAHZjio8/8Hu+Kte5km2qw3ERWaUPVa5mqimtku6hH5BC+b7eAzcQgmD3EO+nWVvbrXQVGpkckXDVgzRr3AOBuZcMOETXxn0Jp270yJR3Wc4jS1EQGiKiejRxO1r19scMvUtOin0T2UiPFFaa1sm0C3WNDaEb6RCHhUeh/RmcV10+/71QnrVXpIe00WstHJAN7wxE7WbgqTWc9/cOC3v6Uk2dTcqp6gsXwUOZriBwpK5SxAcKlAN12uZ/R1XGAnfRE5O9TmHE+fSip7wjtA2XtB61tSBSGrleoOjU6eoKiLKfER9exEuLSpvviXfUANFn4sqGo+qZK/RQ0STwQdw4/5ozK54oYZ5csh9RBbJe47/Os/N7bA0YHUqjOHarR8PQUqJsd6c5ifGcO8IuMzDh9DDukT4idGiAA8UPfTmxEH9WgVGR/0l4D6oST2ZGfWIjaupiRNTu6tnV9R5/wG3SKouS0BsumEA43nEd2U3zCk3NaBEWKnTvDOtz9U9VIloU/ZYys4AVwNzjTg6Vx6OB9lo3y3Qvkj17Ent6CKlu4GjmPuNMPhuYRdYg0E9eTxfHVv4igE3xkq0EZTDurp80+QLKmZVC6ib0M/CuTLOWRSvPFTXm9GPi4c26ELMihqdSy5VxWWKwT/yrI/qJ0ChrDjB7beNGR8fdFjsWn0XsNT8FrXRPVhx0Ud+E4wqU6yWV8FQWo8OX5LrrLn/hWh0NfU5MezQmvDfDmoyzapZ6b5CDwE7X+n+U0mu7RnoKZD0o2sgnA== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(136003)(39850400004)(36840700001)(46966006)(316002)(86362001)(6862004)(356005)(336012)(82310400003)(33656002)(26005)(70206006)(478600001)(83380400001)(54906003)(81166007)(52536014)(186003)(70586007)(9686003)(55016002)(2906002)(36860700001)(6506007)(4326008)(82740400003)(8676002)(966005)(450100002)(47076005)(5660300002)(8936002)(4744005)(7696005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2021 20:25:57.2359 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 27d0c40b-2e82-4f9a-04a6-08d93c05449b X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6315 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" > > > > 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 >=20 > 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. "Memory model aware" sounds too generic. The same page [1] also makes it cl= ear that the built-in functions match the requirements for the C11 memory m= odel. There are also several patches merged in the past which do not use the term= "memory model aware". I would prefer to be consistent. [1] https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html