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 8CB9541C49; Thu, 9 Feb 2023 09:06:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C85F4113D; Thu, 9 Feb 2023 09:06:36 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 8C19B410EA for ; Thu, 9 Feb 2023 09:06:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675929993; x=1707465993; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=mZqKsgV5dVHAq6M5p87d7zAbiSjquOUuMt/JUaTvIj0=; b=dQDJXcXG9mbO18JW5x9osAbqmNohkIGs//cL0Zn1XBlGLHzmpZ71KU2X a9jChhAIyFCVX9+6+48rRLsQ6UR3UD52hFp12ME8xiliqqFwdhJiGmjtZ EEfXRqD4LxVuEIDT7P8ssoThPV8U7KUDTkOD9iQ2NraQUhm/uWkEGMau1 RXv1sqQUxjG+ig6OOuteEWjLy6F7HuFI+NzK79x0MrlCEDtAL6/VYQMTA O6Fuf3W2ULJbsgtpC7b98lLf+65goQdAxq6TZtoQfhM95G+Xt7OkOTytz DvKzo6z/LBSz5HCgexHu5pE5d4lzr+4gqQOYEUQeGZRp4/GB3u4x6L/jc w==; X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="416268803" X-IronPort-AV: E=Sophos;i="5.97,283,1669104000"; d="scan'208";a="416268803" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2023 00:06:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="731164917" X-IronPort-AV: E=Sophos;i="5.97,283,1669104000"; d="scan'208";a="731164917" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 09 Feb 2023 00:05:10 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 9 Feb 2023 00:05:09 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Thu, 9 Feb 2023 00:05:09 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Thu, 9 Feb 2023 00:05:09 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gM2nq/CvyBxBP24z4cyBYt9XOVy6lkaaRa/K3oSkmI6ksoeXyZyIKrG+gGY/cBYx4VubuHShbqoIBBacSrIJgKTdoLfGe3CB4oRtgYJ0o8U5qRLWdmjmjgMRctUjNmhfIvh3Dp9lxt8uCux0DXYur3rSkuu9T2UswNcFy5FB+tteto9tngivgeMrJHAiVIUTsTzOH8mk+wMCcP9XMzqDw3rEur2GQ9uUpteL5FSSoOC37qq9p5a5iks33EdU2zCzkbhdwqyvL1DW4p92mVWnx4YgcM4EkY1XbVvDJqYriP7knLqy3PmCIiEstMEvz3tgaCv/EP2XXJhur/+YN7/PRg== 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=mZqKsgV5dVHAq6M5p87d7zAbiSjquOUuMt/JUaTvIj0=; b=eUPLu5fFhnSxJjvIJKQubkPLn10M0ul6lE9GKc1YnTY2nQ0ErtMKcwlyPWMf/RuJj1BEkpbInh1TeQwodCotl1yg5uQY0xQXaP6gquRAVrbjUhtP4H8gsvq9ICT9e4vPJmJeTCL5i5t4P96fhusGr8Mpfe/52mELR3qXngxtVTOYuRDRNssqwUkNLx1U6oJop+XjIq8GEcu+Fo98WIBaFIq6pyhrxi/+htgE29CaOAL0pTD9j+OmLFeDndz7mxIgnmcXlUk9j4Z+weAFjBUsxMwqJQk6wPnHvfB+LsoAViIIZv6HmxNgoNAAGt1m21u33ERKsr3HKpiUP3AgfUwkBA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by DM4PR11MB6020.namprd11.prod.outlook.com (2603:10b6:8:61::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17; Thu, 9 Feb 2023 08:05:02 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3%5]) with mapi id 15.20.6086.017; Thu, 9 Feb 2023 08:05:02 +0000 From: "Xia, Chenbo" To: David Marchand , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "stephen@networkplumber.org" , "Hu, Jiayu" , "Wang, YuanX" , "Ding, Xuan" , "mb@smartsharesystems.com" Subject: RE: [PATCH v6 9/9] vhost: enable lock check Thread-Topic: [PATCH v6 9/9] vhost: enable lock check Thread-Index: AQHZOuF2mltGPmJfkEGRky3vv3PYbq7GQ/Mg Date: Thu, 9 Feb 2023 08:05:02 +0000 Message-ID: References: <20220328121758.26632-1-david.marchand@redhat.com> <20230207104532.2370869-1-david.marchand@redhat.com> <20230207104532.2370869-10-david.marchand@redhat.com> In-Reply-To: <20230207104532.2370869-10-david.marchand@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3504:EE_|DM4PR11MB6020:EE_ x-ms-office365-filtering-correlation-id: 7ff811f2-deef-43a7-1277-08db0a7458d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: x3vmilqeegeaEAGGUtv7smGWRaXd60ZYIybRz+KGEJnuBi8drGkOdG+MVFN6CKZ8k0MLm5rq8G846KpPGCWG3lexaKO0G5OKmTsq6lHVoSuYIs3M3CtoNKMbONA+rq5N1f3ipopFpu65QhV/JRTHrsMRiFrAmTx4a5Qo1uFocjpgHJhyjpeNQro1tc/W8BIGP61tKeZNHDuvSXBEEF4LPi7KGd0zbr6FaEE+UIaDFeYC8QjokA14Se+tyQ4Hb5C+uLtxaEJNZLP/KV5009cnSp3mKbGovKttElMY03mi/stZEHjB3SnEk4/zYCKTAtx4Z5wWFxZoElVgVUCaUIIpBfGkMIYQdOSuqBFhhN4gg0epAvdwY2PXwuz38Mp6vjI4BipyBdxS5nk5dkVM+PDbLsvKt5sUjG4880Cxq4ev0DYcrV9omkszmRf4h44GXSNgH6EfiwAO9U5FbjRv0l16D5GRP6ilVjfU76WifYBZRE4slK7+35FKQM6FYoMJnzwWMcYRXmGOOKHD+atdjXbM7y2gggKqRe6t+/VXloFCCfOxFPiFF8vTHLtrtYsFgyba4xKdzn+ugpP8OA60S1OqvRdgq6MDrAFsjG8BGfkblAinVgvLQ5XdophMQD/zNXfv0DsQqLBp/b5X57AVH4jhd+21w+YX77nQgw5aT55/KXu8zOL1F+6puMyHMWLfnFU5UG1JNebgGZ1LCjQedcaR4Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(346002)(39860400002)(376002)(136003)(396003)(366004)(451199018)(2906002)(86362001)(38100700002)(82960400001)(122000001)(71200400001)(66574015)(7696005)(186003)(26005)(76116006)(9686003)(6506007)(53546011)(110136005)(33656002)(38070700005)(55016003)(66556008)(64756008)(54906003)(83380400001)(66476007)(316002)(66446008)(66946007)(4326008)(478600001)(41300700001)(52536014)(8676002)(5660300002)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZElwbnJwdUprek9BcXBEQWxyTkVtK3VINzRxOU9xekZNMnZTUWEvVjJ5Y09v?= =?utf-8?B?NWhFUXR5MFhiejRJVzRrMTBQOHdJbEhjUDZCUFBJUnl6emxDOUNFRkN3dU02?= =?utf-8?B?dGdEVDgyczhJQjJ0K3ZCZnhsSkl5cGJjTVliWEd6dUVsbUNOUDNJRE9Zc0pj?= =?utf-8?B?M3Rua1UyaHZrT2xVcXBkTlpYc2pHdCtmNGs0N0FGUzFqd1hlZWNuY0Rkb1VP?= =?utf-8?B?cnJHbXJiaUVSZXJQK0M2Qk1LQXhaSzV6b08rV3VtbW9tV0d6c3o5TncwQ0Nn?= =?utf-8?B?allLNUI4QndLM1VvTFlsVGZ3Z21YaTVhazZXL2d2c1ZiT080TE0yR2p0SU1Y?= =?utf-8?B?TS9sa3oxYkhWQWh0M3dIRVZtTVR3MjU1OVJUemhkY3VZbkhJcjJsRmppQUN6?= =?utf-8?B?M2xJMkRTWGRvSjFEU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?U29yV3kvcG1LL1pVUUxZTDAyYzZwL2xaRHh0T2dYa2gzWFozM1d0SmZqNk5M?= =?utf-8?B?aHNFcG1YNE84STJ1NmxEQ3lkOEQrbS96VncxMms4V2JPc21iaHhmSHhNa04x?= =?utf-8?B?ZUVyY0UwRHJaR210di9nYW14cWoyT0FKZUN0aFJNVWpDRnlZbWhQQmdZVTBL?= =?utf-8?B?Y2tLS1l1Qm1zRytoQWJhTkk0dHVGa2s1b083MlZBYWRzT0w1bWp4ZzJzV0dO?= =?utf-8?B?RFhrM0lldGljSnZpUzdHS3pUTGRlYTNJRllSL1FIdExFRkY1cHRwWXNNYXB1?= =?utf-8?B?MFplTk1rNDZtSVVxR0NWdWtNQ0JPRngyNmNMNmloSFFLZVRGRTZaSkxPWjMr?= =?utf-8?B?ZmZ3Y3Bjekx0N2lmb2pYd2xFTExKK1U3c1VVK1FxTm00bGdpeUhYSjhuMmFG?= =?utf-8?B?N1VEcCs2ZVMrRk0zZ29NVTZac0VGazlwYmlXWEpaalpzb2d3T2Z6WjNOMmYr?= =?utf-8?B?YkxoSWlZc24xWGNwWEZXb0pwMDl0RzhqbDQ3bnh4VEwvRk9LcHk0aU5WbWh3?= =?utf-8?B?ckUyb1M2d2xPeU5ETlhqU1AxYjJNYTRjMG5tMEwxdFBmeXdKT0VEUUVCU0Q2?= =?utf-8?B?L0R2ZnZrMTRTK1ZHVmt4SDNFejJFbHF3bFFGTGZlalBvVFFPOTUrWWpJaGU1?= =?utf-8?B?NlAvdy81WVpkZnp2SXNUdnFNWXZuY0x3alFKR0dvR1VUU3dQM0s5QURWNXl2?= =?utf-8?B?bC90aG9uOXFOeUs4ZnVySFRXdmxSNW9zTzlHMldWU3NhUHRVeTZyeGJjMjE4?= =?utf-8?Q?XSIMEWYPoHiR3iu8ojiauJlND?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ff811f2-deef-43a7-1277-08db0a7458d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2023 08:05:02.5653 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WJQuDC1acdpaoItTQkeY0urRzFQqXdFmuzI+O3RsAOvDMG7kPi10JhAY5E8im5Di7vHWJY4mJ23o9lPGFI+OXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6020 X-OriginatorOrg: intel.com 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogVHVlc2RheSwgRmVicnVhcnkgNywgMjAy MyA2OjQ2IFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ2M6IG1heGltZS5jb3F1ZWxpbkByZWRo YXQuY29tOyBzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZzsgWGlhLCBDaGVuYm8NCj4gPGNoZW5i by54aWFAaW50ZWwuY29tPjsgSHUsIEppYXl1IDxqaWF5dS5odUBpbnRlbC5jb20+OyBXYW5nLCBZ dWFuWA0KPiA8eXVhbngud2FuZ0BpbnRlbC5jb20+OyBEaW5nLCBYdWFuIDx4dWFuLmRpbmdAaW50 ZWwuY29tPjsNCj4gbWJAc21hcnRzaGFyZXN5c3RlbXMuY29tDQo+IFN1YmplY3Q6IFtQQVRDSCB2 NiA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