From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92F2EA318B for ; Fri, 18 Oct 2019 07:45:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD6551C035; Fri, 18 Oct 2019 07:45:55 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00083.outbound.protection.outlook.com [40.107.0.83]) by dpdk.org (Postfix) with ESMTP id D42511BFDA for ; Fri, 18 Oct 2019 07:45:54 +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=TkCnEn/P3v33w3RHcho+E7HHfMA9q1xx2psN3d0p4Ik=; b=CWvUq54UnLC19QMA8JqZMCHvkiQz5HOlO0q+9+wpj6+a5hSc2mjBxkA5ZwtEstQ4YKP43/u9zFCJ53pz3f0p0JQdJ2h1VqaOqr5WRbFBkjDmCPPY8QVFywiEWdD+bFeOwWKuxHVLU8OgFfU/2Ah1c8ax5VDxToT+AW68hHCFlps= Received: from HE1PR0802CA0016.eurprd08.prod.outlook.com (2603:10a6:3:bd::26) by VI1PR08MB4415.eurprd08.prod.outlook.com (2603:10a6:803:fa::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Fri, 18 Oct 2019 05:45:51 +0000 Received: from AM5EUR03FT007.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::206) by HE1PR0802CA0016.outlook.office365.com (2603:10a6:3:bd::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2347.16 via Frontend Transport; Fri, 18 Oct 2019 05:45:51 +0000 Authentication-Results: spf=temperror (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=none action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT007.mail.protection.outlook.com (10.152.16.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2305.15 via Frontend Transport; Fri, 18 Oct 2019 05:45:50 +0000 Received: ("Tessian outbound e4042aced47b:v33"); Fri, 18 Oct 2019 05:45:45 +0000 X-CR-MTA-TID: 64aa7808 Received: from 9c5abcdda38c.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6CBE7A3F-A0F9-4DFA-9BC0-A7F6AD1EF32F.1; Fri, 18 Oct 2019 05:45:40 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2050.outbound.protection.outlook.com [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9c5abcdda38c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Fri, 18 Oct 2019 05:45:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZVzvQwS9V/H3LaEAQJlZlVi6WQyPyaT/94GMMtXkBIZje7HbtM65us5mqEWkgLaya7RqUcKMgby8TUNE9ZTxlJRWSOuI5CiEijPkcMFTOLCN8qdcEjwTNhhibL2MzMidI7FwVlWVVG86qHe6SpFeb7Zh7f+BEvpzjnXuiNugVoj7B4rHbkGdSITahSyXDI4Rj5/VzfK1UeBBVsU8tBFnkjZhwso9I/5YBYsi/yDm4g7NHco62psqJ78fXAlKc2His2phvdIBf3jcbDJCdnQ2hEolXviT8Auh6/I5ddsEV7+uKM4rsB3A6ztRT7JyvNbDJmwfWaQGw7bUPktspkzFJg== 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=TkCnEn/P3v33w3RHcho+E7HHfMA9q1xx2psN3d0p4Ik=; b=ZspXboJB0qY2qR+nLzVn2cd/rwiNtnpE+GxaC4rD2MF6Vx5GTvbUzrFzpbUCL7SLcLxjigjAxJjyLxz25E/20iAYMLO9KzcSx+r9+FhxpsaJ6AHB8SOEgPsoWtxyC3Rw/u1r2COb9/j12CL8dEqcWUYKpXAQaHf3sTMykpmaBLluLukLc5UgXedLLqNW1+VcsV9fdwPFCMbGRgPUlZ1qUguqhV++WPHDUsa20+4vXh5OVNKy60kyWspPU5oz8zfqcv6EIH1F9V4yq26ZjQPQf74zdmSZLMJRmqCBoKRykNlq7B9Zt8J1FEFtUcO+gZr246PMogE+EzHA77BTu3+NHw== 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=TkCnEn/P3v33w3RHcho+E7HHfMA9q1xx2psN3d0p4Ik=; b=CWvUq54UnLC19QMA8JqZMCHvkiQz5HOlO0q+9+wpj6+a5hSc2mjBxkA5ZwtEstQ4YKP43/u9zFCJ53pz3f0p0JQdJ2h1VqaOqr5WRbFBkjDmCPPY8QVFywiEWdD+bFeOwWKuxHVLU8OgFfU/2Ah1c8ax5VDxToT+AW68hHCFlps= Received: from AM0PR08MB5363.eurprd08.prod.outlook.com (52.132.214.213) by AM0PR08MB4129.eurprd08.prod.outlook.com (20.178.203.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Fri, 18 Oct 2019 05:45:37 +0000 Received: from AM0PR08MB5363.eurprd08.prod.outlook.com ([fe80::b483:301f:e382:a94d]) by AM0PR08MB5363.eurprd08.prod.outlook.com ([fe80::b483:301f:e382:a94d%6]) with mapi id 15.20.2347.023; Fri, 18 Oct 2019 05:45:37 +0000 From: "Gavin Hu (Arm Technology China)" To: David Marchand CC: dev , nd , "thomas@monjalon.net" , Stephen Hemminger , "hemant.agrawal@nxp.com" , "jerinj@marvell.com" , Pavan Nikhilesh , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , "Phil Yang (Arm Technology China)" , Steve Capper , nd Thread-Topic: [dpdk-dev] [PATCH v7 3/7] spinlock: use wfe to reduce contention on aarch64 Thread-Index: AQHVhRikdzyjdII9g0qTa+vEjSBtQ6df4+sg Date: Fri, 18 Oct 2019 05:45:36 +0000 Message-ID: References: <1561911676-37718-1-git-send-email-gavin.hu@arm.com> <1569562904-43950-1-git-send-email-gavin.hu@arm.com> <1569562904-43950-4-git-send-email-gavin.hu@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: d8bf4f01-1e0f-4066-844e-c0a6facce257.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: e633d1e9-ddfd-4293-c29c-08d7538e6ea2 X-MS-Office365-Filtering-HT: Tenant X-MS-TrafficTypeDiagnostic: AM0PR08MB4129:|AM0PR08MB4129:|VI1PR08MB4415: X-MS-Exchange-PUrlCount: 2 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:7219;OLM:7219; x-forefront-prvs: 01949FE337 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(396003)(39860400002)(366004)(199004)(189003)(13464003)(76176011)(7696005)(6436002)(6506007)(66066001)(71200400001)(25786009)(316002)(71190400001)(14454004)(54906003)(9686003)(86362001)(14444005)(6116002)(6306002)(229853002)(55016002)(52536014)(2906002)(5660300002)(3846002)(256004)(99286004)(6916009)(478600001)(966005)(446003)(81156014)(102836004)(486006)(55236004)(11346002)(81166006)(8676002)(305945005)(7736002)(53546011)(74316002)(64756008)(6246003)(4326008)(76116006)(33656002)(66946007)(66476007)(66556008)(66446008)(476003)(186003)(8936002)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4129; H:AM0PR08MB5363.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-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: XqVdZnA/tIExgg2zXP8rivRZ+Yj3sx5/BL7Lz07GQSXUQYCergx5ph/GxKPA+0Yj82aUfu8x2Qtfao53wrCv6/NUDy/KKcmM/8ekzB8bcv6IDptg8Xv+evY0Jk5KYjdJEPtIrdlx79dMKS9gmygGeAckRI20dQAoZg0LdTbTSLCNCT4ZvdH0tSOfoo13E/A0Jym9c0MTVDXQ2xp7YhRFExBjDtB+GPv/QhKg7ZR7vDuXlCSSGe0eSsuzCbb6UAmaSsvtXgaq8qQO077hvrOsu8GrVxdv6BXj+o4M5QZdjP/3TKbcknp3BbkAVjbOa4rTNylsthYgwZiWbLW1P18TCi8RpoA5kflCMZAyZVZQLl06QqXJXzfmQ3IJAN6eXzA08jBD/TYXSFAZeKg77V8VVPxH/Rxh/1k+cjCMLHerFZrgLPFYrJeClp+xRwPiO3Q0xW1b2CEL5vFm3ZH8JIu2HA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4129 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT007.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(136003)(376002)(396003)(189003)(199004)(13464003)(52536014)(86362001)(11346002)(63350400001)(6506007)(8936002)(5660300002)(2486003)(76176011)(476003)(23676004)(6246003)(99286004)(102836004)(7696005)(53546011)(26005)(66066001)(446003)(6862004)(966005)(3846002)(478600001)(6116002)(14454004)(229853002)(126002)(186003)(486006)(336012)(26826003)(22756006)(436003)(4326008)(2906002)(33656002)(14444005)(50466002)(25786009)(356004)(7736002)(6306002)(54906003)(36906005)(316002)(47776003)(55016002)(81156014)(81166006)(74316002)(8676002)(70206006)(70586007)(76130400001)(9686003)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4415; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 5ab6bff3-f6b3-41b1-7ae7-08d7538e66de NoDisclaimer: True X-Forefront-PRVS: 01949FE337 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MIPmBCJob3o59Bln1ddr1vfUl8ULPICvVO0DlbI+4DN1MZC0ZZL0QzKJZYGNToev1T9/EqvEpumfPbovoYHFCG9X5LrleRzFWHKiloVdIBucstx/PTA4qdhXmRh9Yti0C/bQykFte+Kp49uTziOABD83a9bPxQIIuzPV8WErmUvHROfgVJdKIQODcpPyoEHOTZNCk2Z6lnKetNtlgy58aCq9bv06zFyE0ELmpN0Dj1iusb4fx5rrEI4Y2JIpQbTkwH6dQKrF9Un41gLZRtDrnsoAECoGW3b5rsw0XwAFxY9u/uiGdv9RXfUJ25Mj49/CkiH1ZADM/A38IkGW14XrhpCfrKPA+WYDwkM7RELU86GLsIOth9oDONdZCHWo63jV77GM7EY7NWf0u1QkKsgkPzTAfcQv3cz3GcQ8PGgsy0H93tS4MDqfTSZthDM3M20X4rJdJ9cYqDyGOX/8pOF3gA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2019 05:45:50.2295 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e633d1e9-ddfd-4293-c29c-08d7538e6ea2 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4415 Subject: Re: [dpdk-dev] [PATCH v7 3/7] spinlock: use wfe to reduce contention on aarch64 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGkgRGF2aWQsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2aWQg TWFyY2hhbmQgPGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20+DQo+IFNlbnQ6IEZyaWRheSwgT2N0 b2JlciAxOCwgMjAxOSAyOjI4IEFNDQo+IFRvOiBHYXZpbiBIdSAoQXJtIFRlY2hub2xvZ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X0lOVFJJTlNJQ1MNCj4gIyAgZXJyb3IgUGxhdGZvcm0gbXVzdCBiZSBidWls dCB3aXRoIENPTkZJR19SVEVfRk9SQ0VfSU5UUklOU0lDUw0KPiAjZW5kaWYNCj4gDQo+IElJVUMs IHRoaXMgaXMgZGVhZCBjb2RlLg0KWWVzLCB3aWxsIHJlbW92ZSBpbiBuZXh0IHZlcnNpb24uDQoN Cj4gDQo+ID4gK3N0YXRpYyBpbmxpbmUgdm9pZA0KPiA+ICtydGVfc3BpbmxvY2tfbG9jayhydGVf c3BpbmxvY2tfdCAqc2wpDQo+ID4gK3sNCj4gPiArICAgICAgIHVuc2lnbmVkIGludCB0bXA7DQo+ ID4gKyAgICAgICAvKiBodHRwOi8vaW5mb2NlbnRlci5hcm0uY29tL2hlbHAvaW5kZXguanNwP3Rv cGljPS9jb20uYXJtLmRvYy4NCj4gPiArICAgICAgICAqIGZhcXMva2ExNjgwOS5odG1sDQo+ID4g KyAgICAgICAgKi8NCj4gPiArICAgICAgIGFzbSB2b2xhdGlsZSgNCj4gPiArICAgICAgICAgICAg ICAgIjE6ICAgICBsZGF4ciAld1t0bXBdLCAld1tsb2NrZWRdXG4iDQo+ID4gKyAgICAgICAgICAg ICAgICJjYm56ICAgJXdbdG1wXSwgMmZcbiINCj4gPiArICAgICAgICAgICAgICAgInN0eHIgICAl d1t0bXBdLCAld1tvbmVdLCAld1tsb2NrZWRdXG4iDQo+ID4gKyAgICAgICAgICAgICAgICJjYm56 ICAgJXdbdG1wXSwgMWJcbiINCj4gPiArICAgICAgICAgICAgICAgInJldFxuIg0KPiA+ICsgICAg ICAgICAgICAgICAiMjogICAgIHNldmxcbiINCj4gPiArICAgICAgICAgICAgICAgIndmZVxuIg0K PiA+ICsgICAgICAgICAgICAgICAiam1wICAgIDFiXG4iDQo+ID4gKyAgICAgICAgICAgICAgIDog W3RtcF0gIj0mciIgKHRtcCksIFtsb2NrZWRdICIrUSIoc2wtPmxvY2tlZCkNCj4gPiArICAgICAg ICAgICAgICAgOiBbb25lXSAiciIgKDEpDQo+ID4gK30NCj4gPiArI2VuZGlmDQo+ID4gKw0KPiA+ ICBzdGF0aWMgaW5saW5lIGludCBydGVfdG1fc3VwcG9ydGVkKHZvaWQpDQo+ID4gIHsNCj4gPiAg ICAgICAgIHJldHVybiAwOw0KPiA+IC0tDQo+ID4gMi43LjQNCj4gPg0KPiANCj4gDQo+IC0tDQo+ IERhdmlkIE1hcmNoYW5kDQoNCg==