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 583B3A0548; Thu, 4 Nov 2021 02:24:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 202B040DDA; Thu, 4 Nov 2021 02:24:38 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00062.outbound.protection.outlook.com [40.107.0.62]) by mails.dpdk.org (Postfix) with ESMTP id 2EDE840689 for ; Thu, 4 Nov 2021 02:24:37 +0100 (CET) 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=AUNJhdite1AB4O3DVvzj3FpoNXmqnHbi+Wr1gfZbEFA=; b=856yzqn1IhWv+pCc6xI8KhCqTQfgTovHxAxOjFFJZkYpZ8iCfp2omVTq9FgfsRx90W/vbcKzvGaHTDZWYVaO9Y9QWwk4KjNEeRWCIb2MBsO9XBSIbl5qxMvBC6r/wYtSZ2g0JqlxT8f49FhWXL7lQtJFy0+ZmUOh0uSELo/6Lqw= Received: from DB8PR06CA0010.eurprd06.prod.outlook.com (2603:10a6:10:100::23) by VI1PR08MB3550.eurprd08.prod.outlook.com (2603:10a6:803:84::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Thu, 4 Nov 2021 01:24:35 +0000 Received: from DB5EUR03FT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:100:cafe::54) by DB8PR06CA0010.outlook.office365.com (2603:10a6:10:100::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Thu, 4 Nov 2021 01:24:35 +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 DB5EUR03FT055.mail.protection.outlook.com (10.152.21.30) 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, 4 Nov 2021 01:24:34 +0000 Received: ("Tessian outbound c71e1a752bff:v108"); Thu, 04 Nov 2021 01:24:34 +0000 X-CR-MTA-TID: 64aa7808 Received: from b49b7c200d81.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BDE49394-D234-4E21-B225-CFAF86F7F8E7.1; Thu, 04 Nov 2021 01:24:24 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b49b7c200d81.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 04 Nov 2021 01:24:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J75JhXyYxAykABq7f6UNGdXK3SjxqjwbuUd59MrVMXtHT61VmWksLCMZVnlYJFaK6iFjVWiaLg2E+1A5gthHEo6iAguhGiRUghDTmdWQ+B4tClYa5odekSOMqkh/idltaMqY5VKxG8ey4Xwh4VvVE9Xi2fM35onU52OjcO+CpoJ7Jpaxggj7+6XogFn8J0LE67wm7BjM/CZhO5UR5q5kl0cvbBZ9i2dtn6rMH1Z5nunpg8YH0zviCtuEXcoiihb5pWmMacHhWBiKnQtZXZpyAG6vIZj0mQVkUXsBwgBhmnQyuIA3mZWHloOR7Id0g5VdqmFAS29gWK1ixpzWWXdVlw== 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=AUNJhdite1AB4O3DVvzj3FpoNXmqnHbi+Wr1gfZbEFA=; b=IxD8/tmUZLRwl/hIelUtyecgoisr4GrBPrTYPRE2Y1IQB62evM7Zp5Sigwhj86jicXbzqKB5IsN1HRA/eJmBcZCsosuub6R3q7+BBsJbd2de9BdFlE+NDFvknxooTFWQs4DBTMCzuFGUqxhpoFj1pPT4gfEV5J8qremb1WH4AhyBp6+eWAeQmyfMEh55PJCI7drNfs/mh0a+hna/zS/jCrsl/E8pGs5uKJycHlKMmOfrO7NqU939NVzpgGAcxFYb2z+5KNtm8sLUzCbrtyX7X9flW30/KiLV0aASscOjOUJ5XMXQ7NCr6V5zLp75u4hYMM1nzcrALEcQSjKlxFeyPQ== 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=AUNJhdite1AB4O3DVvzj3FpoNXmqnHbi+Wr1gfZbEFA=; b=856yzqn1IhWv+pCc6xI8KhCqTQfgTovHxAxOjFFJZkYpZ8iCfp2omVTq9FgfsRx90W/vbcKzvGaHTDZWYVaO9Y9QWwk4KjNEeRWCIb2MBsO9XBSIbl5qxMvBC6r/wYtSZ2g0JqlxT8f49FhWXL7lQtJFy0+ZmUOh0uSELo/6Lqw= Received: from DB9PR08MB6923.eurprd08.prod.outlook.com (2603:10a6:10:2ac::6) by DB6PR0802MB2407.eurprd08.prod.outlook.com (2603:10a6:4:a0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Thu, 4 Nov 2021 01:24:21 +0000 Received: from DB9PR08MB6923.eurprd08.prod.outlook.com ([fe80::705e:f09f:7dd:500a]) by DB9PR08MB6923.eurprd08.prod.outlook.com ([fe80::705e:f09f:7dd:500a%7]) with mapi id 15.20.4649.019; Thu, 4 Nov 2021 01:24:20 +0000 From: Feifei Wang To: David Marchand CC: dev , nd , Jerin Jacob , Stephen Hemminger , "thomas@monjalon.net" , Ruifeng Wang , "jerinj@marvell.com" , nd Thread-Topic: [PATCH v9 2/5] pflock: use wait until scheme for read pflock Thread-Index: AQHXzuXGwN8NjtGDNU+XEbdB229b/6vx5WuAgACx75A= Date: Thu, 4 Nov 2021 01:24:20 +0000 Message-ID: References: <20210902053253.3017858-1-feifei.wang2@arm.com> <20211101060007.2632418-1-feifei.wang2@arm.com> <20211101060007.2632418-3-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: 7226BDB31564E347B7A84B6FEEE639E8.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: e3f22bf2-f65b-4fc3-4847-08d99f31dc2a x-ms-traffictypediagnostic: DB6PR0802MB2407:|VI1PR08MB3550: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:2399;OLM:2399; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 0YfmNtcz6H9dpZpVVpMVu1xcQNZAvFhyPM32F3GrkOAQR8o460SL0w1F+2NX+UxAlaXEtyYv3MdqFwokVbCE8sSJRnZSISxPDJikTRnLm/jtNNRj0FLMrHIKA7yWLQQXNMOgYyVmTdrSxkwMum1dY4aRunWQuZs5UUh3vBpc5jM/WAys7NZ6G/b+2LxkAzITSsr3u/5S7FE1wA+92O9fi8GabBlU2QzeafiQHM8ZCkZapMxGCjUD5vf9pDmIRYe7Y+K5mhlUXh2RSBJ1sBB6VqRKhWKb88ro01Y6P0peMfCMNXTTA2o7OEOiQABmmAxgZXGB2c3Km22YkzWZBW0RQ+IgKi6nVOL9eZ0+q7HVOaYdO8X/EW6ry5dyQ3cJuVv/Y3pDdV30ZUgN7+f+/DLqLM4eAuUk/9I/uGMTE7k21rjT6R/xTdv9Gf8fB06rt9fBKbDBNikGbo4FE7SRgRJAGq56EjIDRbuALEZlO3bvHXQz8sKEhphahWkrnmkDk5ilgxebRPr2qGkvM2uWoAHtcP+Edn6+eDCnAULzTsV77An4YL4qTd5TXqmRZZMLn/GJGs7gpz/THHFXCCvxxLHWOIwIEEcZDFp66i8x/ZmhGYJZa46QEAguSqopdVZ+Vmtvo6+mgR6DW3UXf4tDpn8qDXyabj6hcHXwLTX+FbKOtXbMdxB21rIuU5EOuur7QkxBWNOoMHMQwmqoTp70kFB8cQ== 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)(7696005)(122000001)(316002)(55016002)(508600001)(66946007)(76116006)(66556008)(64756008)(33656002)(66446008)(66476007)(9686003)(86362001)(4744005)(6916009)(2906002)(186003)(8936002)(38070700005)(52536014)(4326008)(83380400001)(38100700002)(53546011)(6506007)(5660300002)(54906003)(71200400001)(224303003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2407 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: DB5EUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 32b55879-b148-4fcc-601e-08d99f31d40e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6GPA7Fj+wMQqR1fdGatLUi0LjXLV3z5f7R9Ce29DW368Sy4HJ1be8xvGvr3cHmbwhGDJJ5xs0s/fCKiErHBfsohCnWzzmgDR52MKy8G+gyNnfz65poBq+piOh9ZJA3ZXh03XEX2Q0QRZGJ0jAptdSmILASncjWv2khcKbZZ1F6635+RTCXMesQA0VtHxXZNqGVGKXJ7HLOAAdNN/IzlOLLUkNowjnZDdGF/lC6xi4ENmYHpUI1aclLXthEsCHyYeyyHctTe9wID3lrZ4bZ8WdN3QRvQ9jSl9CfQWoCb1Prtp6KTDnUpbQVnnWOz0Kg7gq8JG7hTicarvqmeqzgdVxsR6m/oHfq8PDq1pfP2R/NBrJGFPW6Rk9sOyq/dwU4YvSFYQZP73QsnAeO9+BwvNVGNJsOPvvX14KhyhKzCsx1PBBXyBPcWHlZ2gWsDfm6bzImycixmPLTiuBkoD3egA4CrAaNZUollQD8RQkOBTYyxohvHTpnIFIA6z4OZ9hwwSulQ1TtbvW9rRQsV5rsH7LbHygNDZpCnPfhIFMYWlLMcesHVslyT3+eXSCUfpkEcooOImFmxdmA50SSVvlgz41ejFWzc2bAzvYMDYeb+nCvsWo1gTCgd4KfmpzUNxZaZTy3dDuJ1zyxNNoF6hil+g/BcH5QC48A3pLVVBdc9IycbuqpyHG8a+YPE0i43FObV6nxrc2Sg8is3Z27JYcryc8w== 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)(46966006)(36840700001)(508600001)(70586007)(316002)(54906003)(82310400003)(70206006)(2906002)(7696005)(4744005)(186003)(26005)(53546011)(6506007)(55016002)(9686003)(336012)(47076005)(36860700001)(6862004)(8936002)(356005)(86362001)(224303003)(83380400001)(33656002)(81166007)(5660300002)(4326008)(52536014); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2021 01:24:34.5538 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3f22bf2-f65b-4fc3-4847-08d99f31dc2a 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: DB5EUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3550 Subject: [dpdk-dev] =?utf-8?b?5Zue5aSNOiBbUEFUQ0ggdjkgMi81XSBwZmxvY2s6?= =?utf-8?q?_use_wait_until_scheme_for_read_pflock?= 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/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IERhdmlkIE1hcmNoYW5k IDxkYXZpZC5tYXJjaGFuZEByZWRoYXQu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