From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30048.outbound.protection.outlook.com [40.107.3.48]) by dpdk.org (Postfix) with ESMTP id B4A4A5A4A for ; Mon, 14 Jan 2019 18:08:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O5UnZzw5uGfDYCcarGNaaCh6wKQRWy7L4FiTXe7ChZw=; b=LbAbzUJ5qyY2VAbTdqw8VeuIjc0BQzQEO10Mcc7pSIeCKBXtcqfYu00Yo/2mgWFG+v4TJ1MTykPyyEvsk4rMnA9YU3tT9drRfjpqiL+5narl6MfbAp41RnKp0UA4VT8mj9K8udVKt6KTgScXCY4orpbDJxcMi2tBUHGlHZJt4m0= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB3567.eurprd08.prod.outlook.com (20.177.61.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.20; Mon, 14 Jan 2019 17:08:26 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::8960:6756:4cdc:3954]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::8960:6756:4cdc:3954%4]) with mapi id 15.20.1516.019; Mon, 14 Jan 2019 17:08:26 +0000 From: "Gavin Hu (Arm Technology China)" To: "jerinj@marvell.com" , Honnappa Nagarahalli , "dev@dpdk.org" CC: "david.marchand@redhat.com" , "chaozhu@linux.vnet.ibm.com" , nd , "bruce.richardson@intel.com" , "thomas@monjalon.net" , "Joyce Kong (Arm Technology China)" , "hemant.agrawal@nxp.com" , "stephen@networkplumber.org" Thread-Topic: [EXT] [PATCH v3 5/6] spinlock: reimplement with atomic one-way barrier builtins Thread-Index: AQHUnZqmauMG1KJkikm39gJVL/H8jqWSNDCAgBegNACABIu5AIAAHS4AgACcRGA= Date: Mon, 14 Jan 2019 17:08:26 +0000 Message-ID: References: <20181227041349.3058-1-gavin.hu@arm.com> <20181227041349.3058-6-gavin.hu@arm.com> <151223caad2754b36e4887bb2b1d1dfec2094e3e.camel@marvell.com> In-Reply-To: <151223caad2754b36e4887bb2b1d1dfec2094e3e.camel@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR08MB3567; 6:WuILyHlUCerqJOzxF2BPEZabMfQAmst89+KLeZaOMxI1PhdnwSRYL18HZU2uvRu9+fMAywZi/e2Sm2pkoCx6aUXJWDkqjUXZCYx39bmmgMvdInfHrm4WfN4bUkfVVOzZP+Vz+M5ejt9beOERwkLEfDm1IxuIjFRqWhECHZUxs1L1+dot3ZvG+COCzUiBMaFMAQCkyNJxnDlTrSg40AYCcnHduRRD8ogSa2cLPN2SrlkebCpGSsmZ2cVOqeHGCNk3+hfTfK35x0aidL4AMKtGwnLRFAPG32OKePD0ladrq1c+TQAmvE5HUwcb1znNgmpLlDgDzAUuZ3P19XtvZDPvAZL9uknycjJ+rlAimC37KVLRmizVvPEr7AfcjZZHrESniD7kObS3Ebqwqf87KvHFlr6/7IhAcSUCFKx2zSuoEXQOChGVeKpYXV2Le9A7eieXh0OFRTP0GQmapQNvnrUfxA==; 5:Hx0bpJQ5j+gokxsG8o3aANRKQ8ZPChG46kNLGa1ac4SrFk/syZLsmXTmCcKzIVfDoAjrAUPVE1ss+D6MMpAS+RjlwNArc+0XBPH3Pu/2xouqflk21hFdaVL0U0rWXhNjggy5G0lu1HomhKiFqwlPvk0T+/oPbu4GamZqxZPHxl7HiEvEpOO6BNJhJWNPfJXhh/7W3aBJHqJUxmHg8BFk5Q==; 7:bEP8Vwsacz/xi4gT+r+AZZ5PxyIv0wPx0ibyZj+ztKSUFJ7n649ngQcYwo1nTdguk7yAtriTmvXhzxviewyoXKF/QOfc2zvAPr9Sf9CVEn5dv3tYoq3bnA/2RYLcy+yHsVAKUOH+mLx9gZGtMG8TKw== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: aae06a1b-7c32-4e4c-eb2e-08d67a42e60c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB3567; x-ms-traffictypediagnostic: VI1PR08MB3567: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0917DFAC67 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(346002)(396003)(39860400002)(136003)(199004)(189003)(486006)(476003)(53936002)(74316002)(106356001)(14444005)(305945005)(4326008)(256004)(6436002)(2906002)(6246003)(26005)(186003)(14454004)(9686003)(86362001)(66066001)(6306002)(76176011)(99286004)(102836004)(72206003)(6506007)(97736004)(68736007)(2501003)(33656002)(55236004)(966005)(25786009)(71200400001)(105586002)(6116002)(7736002)(55016002)(3846002)(8936002)(93886005)(81156014)(5660300001)(11346002)(81166006)(54906003)(110136005)(446003)(478600001)(71190400001)(8676002)(7696005)(316002)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3567; H:VI1PR08MB3167.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: pnJFn+jqeSnjk6ET+MnSV7vFjVS27h7eIE9UfflrO6wioo+S+z6qXhh7c8Fj1ppU/qRdMJE/9vBr9RTGtboiELKYxgEsoQyN+6uH98BfLyi/lnqPXQ2UILhSlrFILuEwtzYSFKErrSuwAvql7HxW0r/NYSZgR+DQ7Q8gFOdQ9AIzy11Tl36KrMeRAOKpLMH+damfftEFjao2E126J5tLg0EAkaDosGuJDtXprUKzt37VA46j1alke2UMvAMM6qxI9s7+nFVH6EaylFpUgs9ykP1GWQIu1JXyg8YPUrRO8vuGasuxvYyVbQHi+KpeZpBHAbi6z8uAdKN4nKBdjYG4i6bxQS9FRaTSKDw0tamxvwasvYBsKEFIpRQ4J5xS0s4XD4WimBaF8eCfFhzjy7u6q9vr+OWOlgQIxgxECOYdvOM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: aae06a1b-7c32-4e4c-eb2e-08d67a42e60c X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2019 17:08:26.3749 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3567 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 5/6] spinlock: reimplement with atomic one-way barrier builtins 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: , X-List-Received-Date: Mon, 14 Jan 2019 17:08:28 -0000 PiA+ID4gPiA+ICpzbCk7ICBzdGF0aWMNCj4gPiA+ID4gPiBpbmxpbmUgdm9pZCAgcnRlX3NwaW5s b2NrX2xvY2socnRlX3NwaW5sb2NrX3QgKnNsKSAgew0KPiA+ID4gPiA+IC0Jd2hpbGUgKF9fc3lu Y19sb2NrX3Rlc3RfYW5kX3NldCgmc2w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