From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id AE36AA0096 for ; Thu, 6 Jun 2019 12:17:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7AA0C1B964; Thu, 6 Jun 2019 12:17:05 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20054.outbound.protection.outlook.com [40.107.2.54]) by dpdk.org (Postfix) with ESMTP id 3E2101B95B for ; Thu, 6 Jun 2019 12:17:04 +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=IOicVqHvF6ZuEAPAQcBeu88YrXQB++kzn/+0vTnMukA=; b=q6h76qsofk+EPbWzq0ZZtwdnVQGw62H6H5He0gcoXf37UUzq20Bv4sCz2BdIN1J7VQq9m8Oah8gNbV+zXSHMEFlVvnUUs4JVGMK0bpMW6PRNoTRAiXzEAWZUAXy7t2M7xDIa5BcYGNdg70Pmkm3QVYkIBGZkiajFlkDbOP87/FY= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (10.255.27.75) by VE1PR08MB4896.eurprd08.prod.outlook.com (10.255.113.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Thu, 6 Jun 2019 10:17:01 +0000 Received: from VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::8553:e059:25a2:d0ab]) by VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::8553:e059:25a2:d0ab%6]) with mapi id 15.20.1943.023; Thu, 6 Jun 2019 10:17:01 +0000 From: "Phil Yang (Arm Technology China)" To: David Marchand CC: dev , "thomas@monjalon.net" , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , Honnappa Nagarahalli , "Gavin Hu (Arm Technology China)" , nd , nd Thread-Topic: [dpdk-dev] [PATCH v1 0/3] MCS queued lock implementation Thread-Index: AQHVG7ew1upcwjQPE0q1K7358PPTg6aNQGIAgAEb5qA= Date: Thu, 6 Jun 2019 10:17:01 +0000 Message-ID: References: <1559750328-22377-1-git-send-email-phil.yang@arm.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Phil.Yang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9dfb6bb7-5f71-4ad9-dff3-08d6ea681dec x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB4896; x-ms-traffictypediagnostic: VE1PR08MB4896: x-ms-exchange-purlcount: 2 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 00603B7EEF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(136003)(376002)(39860400002)(396003)(346002)(366004)(199004)(189003)(51444003)(25786009)(54906003)(99286004)(7736002)(86362001)(8676002)(53546011)(7696005)(446003)(76176011)(71200400001)(6506007)(71190400001)(33656002)(256004)(14444005)(102836004)(55236004)(74316002)(966005)(8936002)(72206003)(14454004)(790700001)(6116002)(81156014)(81166006)(478600001)(3846002)(2906002)(6306002)(54896002)(9686003)(26005)(486006)(236005)(229853002)(55016002)(5660300002)(316002)(6246003)(6916009)(4326008)(68736007)(606006)(186003)(6436002)(52536014)(53936002)(11346002)(476003)(73956011)(66946007)(66476007)(64756008)(66446008)(66556008)(66066001)(76116006)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4896; H:VE1PR08MB4640.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: 0Gt36vMwv5Ozlx3wbJ7Meeccx+IJ63lz5MuMbdb+bWWfhQRClCVzusTaMF+r7C6gdu3xfuACj23wfJja6GJ2B6Cp/orxSEE5b8p/j23ECRdPbQvLkQnXXeX035IS6TdK1NrNNdMU5GWwnqJ3i5t1fghCgnlFe2uS+FlBKanbdVIxYDt/05dtL12vvyz3tkrX5ujjj0cDwa3NpILoDkGSjDVvE1v4n/1Z8uoQrI3l51ZcwaU0juCjy4k5xNE4SREdBjmWDxyLqrhd4yJ4IC0YG7vWqeAETuHmdIs/gYpHuk+MURdn95onTkMvjTiGmnYcYy/kTE6eP6KglJBGBIhfysajp7gR2bV9cWbBHmVdPHRZ1fE9KQGNEexE1V2JXi6Kk1XILHjW7dP/TEonyUYStrbrdKB/+ueX5dshSKZiSxk= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9dfb6bb7-5f71-4ad9-dff3-08d6ea681dec X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2019 10:17:01.7226 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Phil.Yang@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4896 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v1 0/3] MCS queued lock implementation 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" DQpGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NClNlbnQ6 IFRodXJzZGF5LCBKdW5lIDYsIDIwMTkgMTI6MzAgQU0NClRvOiBQaGlsIFlhbmcgKEFybSBUZWNo bm9sb2d5IENoaW5hKSA8UGhpbC5ZYW5nQGFybS5jb20+DQpDYzogZGV2IDxkZXZAZHBkay5vcmc+ OyB0aG9tYXNAbW9uamFsb24ubmV0OyBqZXJpbmpAbWFydmVsbC5jb207IGhlbWFudC5hZ3Jhd2Fs QG54cC5jb207IEhvbm5hcHBhIE5hZ2FyYWhhbGxpIDxIb25uYXBwYS5OYWdhcmFoYWxsaUBhcm0u Y29tPjsgR2F2aW4gSHUgKEFybSBUZWNobm9sb2d5IENoaW5hKSA8R2F2aW4uSHVAYXJtLmNvbT47 IG5kIDxuZEBhcm0uY29tPg0KU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHYxIDAvM10g TUNTIHF1ZXVlZCBsb2NrIGltcGxlbWVudGF0aW9uDQoNCg0KDQpPbiBXZWQsIEp1biA1LCAyMDE5 IGF0IDY6MDAgUE0gUGhpbCBZYW5nIDxwaGlsLnlhbmdAYXJtLmNvbTxtYWlsdG86cGhpbC55YW5n QGFybS5jb20+PiB3cm90ZToNClRoaXMgcGF0Y2ggc2V0IGFkZGVkIE1DUyBsb2NrIGxpYnJhcnkg YW5kIGl0cyB1bml0IHRlc3QuDQoNClRoZSBNQ1MgbG9jayAocHJvcG9zZWQgYnkgSk9ITiBNLiBN RUxMT1ItQ1JVTU1FWSBhbmQgTUlDSEFFTCBMLiBTQ09UVCkgcHJvdmlkZXMNCnNjYWxhYmlsaXR5 IGJ5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