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 24804A0C45; Thu, 28 Oct 2021 08:33:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7E8A4067B; Thu, 28 Oct 2021 08:33:06 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150074.outbound.protection.outlook.com [40.107.15.74]) by mails.dpdk.org (Postfix) with ESMTP id 1ADD44003F for ; Thu, 28 Oct 2021 08:33:06 +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=BIgMZ9WA/DPf6iDZ0DH7vTFQqz4vggBj7xCEhVGFvpU=; b=OCXSw2zWJrZGhv13HmVakNBt1BxIHZyWWlnOf/FVzkqgRnK9UpACMYKrVRcH8B201th1mv+EXOTqBXPkDGbKkEXdHYxmotuIgVTEBObsXqHefsj4KB5ZCaZkRSfSNIwuvPL0qyuTfgtz/Nm7l6B1FnPz4uAbV7V4UNvBEgMSJJ4= Received: from AS9PR06CA0225.eurprd06.prod.outlook.com (2603:10a6:20b:45e::13) by AS8PR08MB7174.eurprd08.prod.outlook.com (2603:10a6:20b:405::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Thu, 28 Oct 2021 06:33:04 +0000 Received: from VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:45e:cafe::cb) by AS9PR06CA0225.outlook.office365.com (2603:10a6:20b:45e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 06:33:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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 VE1EUR03FT038.mail.protection.outlook.com (10.152.19.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 06:33:04 +0000 Received: ("Tessian outbound d5def7722ff7:v103"); Thu, 28 Oct 2021 06:33:04 +0000 X-CR-MTA-TID: 64aa7808 Received: from 9153c6bb2a45.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 00D0A705-8278-4A28-BC0F-24F6C4B94E13.1; Thu, 28 Oct 2021 06:32:57 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9153c6bb2a45.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 28 Oct 2021 06:32:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EybZ2oDUH6p/QH7JJhTEc7GPmSvUwLM5hA2bujc2oliTdfGcVL/a6sxlXtRLUlwQMnLP4iYMj0pcflpV5+MTdW+9jqdpjPYvlyWXHj0BiG7EgL6YQ1W5uNK/kTyiDYLVIhp0OAcdlpYOgKWc5g0WCNGLNhzRv5b2jDZljyKOaq9I/yK67TsWGmWxX7IaUHIqPvySS57bw08WBr5pi7QDUmYRuwMHpcgM1XfBi3T7SX0uYvQt5Cle+Rm1Z/egqb0Fz5nL+jNgunL0ViQvFk4LKYQdzt58KHVJnjI0f2jOu/XOMzQWkoj0AHImo9fgjfX86H0tSz5YwI7StOjckws5+w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BIgMZ9WA/DPf6iDZ0DH7vTFQqz4vggBj7xCEhVGFvpU=; b=FYHNxCZgdrbmiUTuJoCQVbu9zTscQFiJJJOLQGjbaq6ZKsJBAyfwvC5FvrV3GBaDQmzhIm2XI7bn0u5DsNbUJ4yz3IYh0K3Z6DIUWEYTs3EM1PSEW0PJwb9IrlA68zIEy2W7Jp0/fHejPJdyQ8lgG5EK5xu5hMuyV4xbUnFiCvLY/MCJRzNGU9H9/BlQ/I5bjtMM0q1Zvgg+8Mq4AGVV1TFGH9AohH7IUy7bv39CPNU0mkBZNmLlIuZvTD2tW50DudBphFv/1DuRFShZwUYEcdlKpsa8nEl09Ql8m0PgC3zVht1lnzbxUV1BoWHQcLHq86SaZ1tk+RV4YZ6AqSkhAg== 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=BIgMZ9WA/DPf6iDZ0DH7vTFQqz4vggBj7xCEhVGFvpU=; b=OCXSw2zWJrZGhv13HmVakNBt1BxIHZyWWlnOf/FVzkqgRnK9UpACMYKrVRcH8B201th1mv+EXOTqBXPkDGbKkEXdHYxmotuIgVTEBObsXqHefsj4KB5ZCaZkRSfSNIwuvPL0qyuTfgtz/Nm7l6B1FnPz4uAbV7V4UNvBEgMSJJ4= Received: from DB9PR08MB6923.eurprd08.prod.outlook.com (2603:10a6:10:2ac::6) by DBBPR08MB4757.eurprd08.prod.outlook.com (2603:10a6:10:f0::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Thu, 28 Oct 2021 06:32:53 +0000 Received: from DB9PR08MB6923.eurprd08.prod.outlook.com ([fe80::705e:f09f:7dd:500a]) by DB9PR08MB6923.eurprd08.prod.outlook.com ([fe80::705e:f09f:7dd:500a%6]) with mapi id 15.20.4628.020; Thu, 28 Oct 2021 06:32:53 +0000 From: Feifei Wang To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , Honnappa Nagarahalli CC: "dev@dpdk.org" , nd , Ruifeng Wang , nd Thread-Topic: [dpdk-dev] [PATCH v6 3/4] eal: use wait event scheme for mcslock Thread-Index: AQHXywokGFXR30X6dESeMTaNlIQRc6vmshMAgAFA28A= Date: Thu, 28 Oct 2021 06:32:53 +0000 Message-ID: References: <20210902053253.3017858-1-feifei.wang2@arm.com> <20211027081018.653746-1-feifei.wang2@arm.com> <20211027081018.653746-4-feifei.wang2@arm.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 5040CEFE5F282C42B0B3A97C0353569A.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: a996bbe1-7b2e-407a-d408-08d999dccc0e x-ms-traffictypediagnostic: DBBPR08MB4757:|AS8PR08MB7174: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: abegLuft93bZSnXxWroGEsc+pUKX307lTAfsMFiPbVt/4MxEwVPNAS12ulhbwF2ko7R5Y1Iloc8Dp5iAnNP4arWl2AxWY3wCp+yncLrjQuKiJEV0Fo6fdHXCxGhuFtRcHVpn8khN478n3+ujlTBpZpTWJ2rMojYzMyPxejFvFtfv4kdpos1I8wTcYT5r9bKOboW3beG3nQiM2IjkS+rgUImIU1jETd1VZ9u1MWdjMCYRceWjpW86rhJUFo1GciGoESzhH2rwZIs/wGDEEJU58ineoU3MdeFL1U5OckMT9rXOa9pir3xWLOAN1V0/fQ+Aivz7YE5XJkAqQhZSMQLnaWTTYNAbXoMUd1KIF7NhOzf47yH2CFwcdlvvxsymz+FNA8c5rPGcf1mGPDEyQP4E4/WMOBpGOrTmN3tEa+CHyslFYExq8tGcGvkXKn9jjtQQ07yRkWX6WHbVddiBW5fMB/kQHAl80jh+2jrWYW2kaYL+sP2pOf4ztbvR+hb1Ka0UjFSFlXub6L4jH5eFieG3QsSFwDpdovntsuCTE0k/ou2oGCPisxafmDQ+/T+U5iEhfEix5fxjaIGAdOlaJAa2QGdA7TUlVkTxJsxAINr6sLVJDqSAobm10CBOOp9vsM2QmRF1LN5mXXrQa78bsL0hfosLiXU7+PWQAV5pRlC7cm2gEPW62IS2uXr6mFhtzar2SYAZDALgIbez18FGhICSsQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR08MB6923.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(26005)(33656002)(66946007)(38070700005)(4326008)(110136005)(86362001)(122000001)(224303003)(186003)(8936002)(55016002)(2906002)(71200400001)(4001150100001)(76116006)(6506007)(66476007)(53546011)(66446008)(54906003)(52536014)(5660300002)(316002)(64756008)(38100700002)(66574015)(508600001)(66556008)(9686003)(83380400001)(6636002)(7696005); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4757 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 6fa19310-62fd-403b-9039-08d999dcc5b8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gzoSyPELkeQd0bSX2AMHOjZMSlhrhynz+K1vTALAc5/nxOFqs68COjl2vdhsrcOph/vM7NksQqHmHZT/vLiyOW262GwHqvCqtf0Eju91qzTMqx0APU2vD+HH7oeTBFCNh90MPk/VL/09pghpoWjwpJev0gCKrLVsoqTIu9forgqBdXSnU2XKHERcusN8cwPb9w8VV8g9E37umq7M8hugPh0nSsI6sihXwrFELXgTsitvzWtMqTcnW+18gLSD8yBx/uBW41BCNQLyb1MEwxn18ZLZnzRmBSk5x4RBsRg0NzPmg9hzEiixjR3jfqW0bK45OU5WfZdqik34Of4CjvN4TI0WMNtJYv+qEGhcae7Hu0kWnNwJLNqRBHAH3YGlWqmL9bCWkmDDxX6BCRP/HzRSNNC9l85fAtHU8pydues5DGjNaDS4l00b28pFPonamiOng/2IxrSi7Wb160+4h6vf8LOdJOt5XVxtYnwwzi4PrumvW6yp50fZvMkhFGtNrgl+r7L3ZxirgfI9BZDjhvWld0BeCF7HH64Zs0GJil0MhxlIJbpdv7im4zX4w92ud3ozD80JdMS52wAAzdlyx2Bih2G+Qguacx8qSimkZn2Lu7H172uMp6019Rvx+go9vRnT8zYP7+qHYDdIsH2gJXGhxd289FxFCRh0Y6LS9dZu4sO+kOKP3Mn7KY04qIwqRGwJfnSHzCJzbEBcnjfOzZPu8A== 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)(36840700001)(46966006)(83380400001)(86362001)(2906002)(356005)(70206006)(6506007)(70586007)(110136005)(54906003)(508600001)(224303003)(52536014)(4326008)(5660300002)(53546011)(7696005)(316002)(186003)(4001150100001)(81166007)(36860700001)(6636002)(26005)(336012)(8936002)(55016002)(9686003)(47076005)(33656002)(66574015)(82310400003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 06:33:04.3855 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a996bbe1-7b2e-407a-d408-08d999dccc0e 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: VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7174 Subject: [dpdk-dev] =?utf-8?b?5Zue5aSNOiAgW1BBVENIIHY2IDMvNF0gZWFsOiB1?= =?utf-8?q?se_wait_event_scheme_for_mcslock?= 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" DQoNCj4gLS0tLS3pgq7ku7bljp/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IE1hdHRpYXMgUsO2bm5i bG9tIDxtYXR0aWFzLnJvbm5ibG9tQGVyaWNzc29uLmNvbT4NCj4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