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 D7129A0547; Wed, 27 Oct 2021 13:16:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2707407FF; Wed, 27 Oct 2021 13:16:27 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80071.outbound.protection.outlook.com [40.107.8.71]) by mails.dpdk.org (Postfix) with ESMTP id DED9D4068C for ; Wed, 27 Oct 2021 13:16:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bG/9RsWaFBTFERkNrtYZV0MR4LL/lvnnJglRaL/BxpEigveezhLCtOxrjW4cV2DzDZHPF9Xa19cc8msTU606LJ3ckkQHhjS4nmHtcCKUe7oD3RSztC3VFMnXHyeQBMsbm1DhO6e3+zAI7r6BmIgo2rhXWRivmCrzzvG6DnQIUIjRMLAF1G2YqnbcmJfaViLnVqF8reLHWQwxyzvawNbK+qZ7uyo4r9xG8XguIgXZFzPpq/5ZvlD1fm7HkaahpGB1K+oMALbfh105Wy0RSFJp7jdtiiLVwACKfXgwyftAh1LlGsKxzzAah5mdf2WTMLrxx6LVmkzn3/8KZz8xp3XI9Q== 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=TfauhYve1S4uvZvks0e6PPFiVlreVDXvibNkyvRgnH4=; b=mAB5sN4HT5+BOEZ3rIDdTusDHFyVnM0Q9yTx8jijxjuIz6xmu11nVOmEteErqJyU5jEaO2UcD51QjnODrl8SCYqa4ePyKhmehyB+NWNmfbuQCvcsEf51eN3TNB+mW0aRe+eaSuYBL6uV3OoTLsaczluQNT1JIjKVL4WjzXqvt0p2Ms6oB7lvO3crX0HHVNiUz6pBkJ0AU/v32oIwDQM31fExJjXxC21Ir6GRJm0h6xY9DN+4F88M0WItNQP06nvZ9W4DFS/RRUDLVAOx+PYn9TKWplSpoDE1ahKGpsrXXzTygVEBtuLzTtINAdAX739EGf11mwIfl6hA75zE38HW7Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TfauhYve1S4uvZvks0e6PPFiVlreVDXvibNkyvRgnH4=; b=SNtMztZiI5agTETdLtZwSep4GCjho3/nYMd3gn+kbWd+reFnDWmd3FucdSqQE/YVpnspGwRsHESjIc6lBrKkNe3I0OeCnLX5iGpMxNsUNNUuuq0TiGS6vYtraB6A+/NnGm3Cx6L9uilZsFlBoBmtGimg31EbCL+RQaFbM3PdJSE= Received: from DB7PR07MB5978.eurprd07.prod.outlook.com (2603:10a6:10:80::15) by DBAPR07MB6789.eurprd07.prod.outlook.com (2603:10a6:10:17f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.4; Wed, 27 Oct 2021 11:16:24 +0000 Received: from DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::8b2:d48f:7cb7:8b3d]) by DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::8b2:d48f:7cb7:8b3d%6]) with mapi id 15.20.4649.014; Wed, 27 Oct 2021 11:16:24 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: Feifei Wang , Honnappa Nagarahalli CC: "dev@dpdk.org" , "nd@arm.com" , Ruifeng Wang Thread-Topic: [dpdk-dev] [PATCH v6 3/4] eal: use wait event scheme for mcslock Thread-Index: AQHXywosEJeqnLNqxUOQXEyn/sSMc6vmshIA Date: Wed, 27 Oct 2021 11:16:24 +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: <20211027081018.653746-4-feifei.wang2@arm.com> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 456b6d97-a776-4057-ea89-08d9993b36a1 x-ms-traffictypediagnostic: DBAPR07MB6789: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oTwAN0VtNAmRqtIvhqkg/JGRc4YACTKD3fljVQhqAOU2HE2jd2OUtOryRf9Xmi6kX09wQxuyk7rxYrzTCsLcKPoQiGb5Xc2xNQElM0zFQlTJvWkcMToyULNjNJXghvVC9z/u99T09PHKHlbaAULc1alnxB5OMmBsK5rmLQ079aoAK6ppwgLSQvtFCdbrhvQfAcgVdlobByOqs3YDycJ4JkdbULcWVLDGRiFwqPxBGfmKqZN05aC95vT/0qfX/sinaq/4Ffy9v9h1RYGS4/xJJ0iYZIN0cHnLAZ4n2GkFbFyoGTLd/N/CKxRJnjk6eH6gg/8kNW+kMaXUgIAGN/liL4azhRq1J529gcYQ6DOYeoBsnYeAO/++YeBs39DfN2GClVSmGYqoPE2sXUtM3fBZuh03EhLgWh7a04EHg0XQE9JE0jlPJ1HyNlbhpRXJcJSJC2athJL/d7ZpysXVlG7WOrY5EdbQhn2nubxqGleg2Sq2eIus3aSSH/zwhNvRad14YOYVzgcwgTtmJtODgqlhnG0zI31rSXmya5BqEnFY65CFybVnLqyqYbs3zTJoP0CVfsPUXSj61x1Ljn5Jhf1gR2kUWTEABDW8zhBh+WueVD23yCz85TNgmQpYeRkvWdRfJmKZ5FGH0sd4/Z+6zRDPfbwj+wHStyddt7ZuGerGTdwPi6lakUQ6/Mi+JMlLMm38aowJWG7eNOQ+DgjqfCc8e0fj/XAgs0woL5GlA1stSsGARGXdoFZP/DBQCQbAsZt9ahV+CUIndLfJFLj9BLbW9g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5978.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(86362001)(85202003)(82960400001)(316002)(2906002)(5660300002)(8676002)(85182001)(31696002)(4326008)(6486002)(4001150100001)(31686004)(110136005)(186003)(66446008)(38070700005)(76116006)(66946007)(6506007)(64756008)(66556008)(66476007)(122000001)(53546011)(36756003)(83380400001)(71200400001)(2616005)(8936002)(6512007)(38100700002)(54906003)(26005)(43740500002)(45980500001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SDZjcnFrWXFIcjJRNzNYNG9BcFUvNVFsZUx3UEI1c1ZiaFRNZnBkdnJXWHRB?= =?utf-8?B?eU0ybUZLWGE4eEpxQVQ0aVMveFY4alhyL29uNFRvM0hiSGYxbGNHb3pnOGFZ?= =?utf-8?B?LzY4TGErN0FLTnUzODZiWFZVZDVLa25Cc0M4ZG43UXNTdlJUakoyRW55Sjlv?= =?utf-8?B?UzlxT1lLeVdRditPeEdvcHN4a1doanRDMmhIZk9xbkVQOGs0N3VtT0pRV3RV?= =?utf-8?B?SWFiUTBTWThhWHlWKzR3S2VLUzMrRkZ0UG5WcWl5RzdmVXgyT1BUcXFk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ZJRFA3V1pOR3hJU1IyVTJScXFHcDVZ?= =?utf-8?B?SmVpQlp0clArOVJzZkVUdVFML0huNVVQM1FrVS84b1BJN3czSWExRHdnd3E2?= =?utf-8?B?Z3RjaEQ5b0lGMnQyWXk0L3JMOVFPZWpOcEd1dEtXaHV1YjQ0Z09JU2RKVCs5?= =?utf-8?B?aEZlZDgyYjdWdEFTd3ErZ3cvUUtnPT0=?= Content-Type: text/plain; charset="utf-8" Content-ID: <377E57453F25564EBB2E51672F464ED5@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5978.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 456b6d97-a776-4057-ea89-08d9993b36a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2021 11:16:24.7957 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: P+zo5Upq75aLPLxFLX3+zrFn+/Qd2em7cC/Kv8zPFw8kSLxYyBypWKcjJduW+ZfeTiELY0aizWlK9KNA52+bZ+9jCyVnlSwNas0fo0f0FXo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR07MB6789 Subject: Re: [dpdk-dev] [PATCH v6 3/4] eal: use 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" T24gMjAyMS0xMC0yNyAxMDoxMCwgRmVpZmVpIFdhbmcgd3JvdGU6DQo+IEluc3RlYWQgb2YgcG9s bGluZyBmb3IgbWNzbG9jayB0by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