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 C444D41C49; Thu, 9 Feb 2023 09:01:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B5BE742B71; Thu, 9 Feb 2023 09:01:09 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id F06B54067B for ; Thu, 9 Feb 2023 09:01:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675929668; x=1707465668; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ghrynGnh8ljTkQZlpsURAlauxZYugsecnKQMGRf/3CQ=; b=QaJKiZWNTnPJ0P9ELmzxs6ufOC0zScsXHEJ7LnFlnsachjCu5zXXfYj9 2zU9tcGKPkgR03lNWrkU6Nn+MyqIJhWWd6cjw+/PMoKgKMPpNWgNGb4NN asT7XdXukxYNGQb0HP6nPflJaA4NSf3gft/DqLolD7SyYUcX2rCZF0CVr LTQUSMmoSw9VJQRHhPJyujLUH9N1XvRHdrb6V7P/bJD9Dtkv1J1JG3scN TfYW1Da/gllPARgGJD30cVIxhp6LPJ0118dR3cHSVdKflQxapK3nWKGKb AGiidFm4XvTOS2Vk/aAXjFav8Do58mmRqztprI6ARD3cuqmyqjZNlxcTA A==; X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="332163306" X-IronPort-AV: E=Sophos;i="5.97,283,1669104000"; d="scan'208";a="332163306" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2023 00:01:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="756326413" X-IronPort-AV: E=Sophos;i="5.97,283,1669104000"; d="scan'208";a="756326413" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 09 Feb 2023 00:01:04 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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:01:04 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX612.amr.corp.intel.com (10.22.229.25) 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:01:03 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) 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:01:03 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.102) 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:01:03 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jFeBFVx2qBlyH0rPDJMNXW9pikv2ANUgzGlxbzqYsPmNbSpX+1jplItGZpOtC6ax5CMzZTG3rF4tSiceH0J/oPOx5A7+LU3/1NYq376mPGQVCSQwziqnF0FkHq/3EiZuvLIcOiDuiKAq2fREc9eHMKgZFVt/iEOA6uNkkNqIml8ShFhOkOnMCMFLp0Nl9KqR09u2GgPFAcpwObQOOWNQfmoOf5LD6UPUW/PeCky31BYKHJaF9/07fL3nGtYWnF25pyb+tlH63Khqo1D8Kv3H7F9weSAPQlvqmm0AHpWAC24RRuCSEaU5M9Z6eotd8H/MPJOSCYJIAKs6mNeJKioYjg== 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=ghrynGnh8ljTkQZlpsURAlauxZYugsecnKQMGRf/3CQ=; b=Yq8f4lbo8Als34zGjVmaaNMivI+pLD3QOZ7+qquEhJ2JOAx/7hxRMW+lYpByXUVKFEYVEDKGCMfvj4vsj5ltzUz182ZIpN3mXGeEZDWNr3PasLctZEGH1rbpJYWmvZiPMJwB13f/8DJb4xuRxG+EwLoRrirw+gGz4Kw4kLSpIg7roFwAGp5rww3TGG6Ie95I4/N4WfkRGXdG8nvJQOd/NWfTTCKFBRDP2r3trqizyu1AQ96BoMSBPv2YuxkWY4/8YQGtVaBpXAUMC7Zgulp2mJwbEgPyeDR/xvpaIUX6DLnSnO8RROTy0FnXwSnZjTu2YamUxImcrwP3RbdkkHrKPA== 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 DM6PR11MB4610.namprd11.prod.outlook.com (2603:10b6:5:2ab::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:01:01 +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:01:01 +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 3/9] vhost: terminate when access lock is not taken Thread-Topic: [PATCH v6 3/9] vhost: terminate when access lock is not taken Thread-Index: AQHZOuF7OagdiIduaUa2oJDNDSO6T67GQ33g Date: Thu, 9 Feb 2023 08:01:01 +0000 Message-ID: References: <20220328121758.26632-1-david.marchand@redhat.com> <20230207104532.2370869-1-david.marchand@redhat.com> <20230207104532.2370869-4-david.marchand@redhat.com> In-Reply-To: <20230207104532.2370869-4-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_|DM6PR11MB4610:EE_ x-ms-office365-filtering-correlation-id: 7f7714c1-5696-4112-463c-08db0a73c8eb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WfO/RqHNaFC/CCfq7rn/h8Rb0iLCDH9Y5CDntIs/uqvqORiMOQJobkK2VNHozor8gwKK2WjiFWPk4X7VtZDXIIduR3CiRNGA3xFCQ5nwykP4Q2w3hLgxOZZ6mWW6kdFZFdDCTuYWR0Hn/9B3C28r3HQuzwVETkD4/UkOzIDXhfe0gq5TFYvAPLTV/4vwcVRuWQONM5GfvAHtwwl2LE1c03NUOI1/b1t6ziTRYYIkCghdD02hjLH2Rc23RAZEmz9KTS5XfMT+04NyoXzx3k+K0fIFBFVIRC1L2QAchcV++8p2F3R6ibzlHn/cBEPqP/8hZq35TUepkWgI4NnETiBqAT0dZs530lKmGRkCcILFxR9e93sC4TmsGtfZEIqqW5teCNU3xFUkdYTZ5q6M5UkG5ifmq5Poohbq31kmwK+kVf1v1rOECbQymf7se2IMyHJGjtSP05fqk1E3t7lZM9dMM5goGKx7ooiDOKfAZXUnnigrAUijfr7L7xs/CxbrLzHBI4iMYHZXO1zWufONgS4AF/XYjrSkrecu0nuK9l/gYu9ZXm02wZ5RFarNWEGdtrJPTZl56D2U8vftMMAzvcPTqEbhFHjNRUNv8bN4DMNHiDc32VIKwXZrIa2Sgro0KeIBycCqcTifyOr6X2XXi7/160SCjN/ka5AbOw67Oc8cLRZJw/C7gbftc6pmrOChhacAWdPfEB9wHyHz4Iqrwdb+eA== 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)(366004)(39860400002)(136003)(376002)(396003)(346002)(451199018)(82960400001)(38100700002)(122000001)(41300700001)(6506007)(52536014)(8936002)(26005)(186003)(8676002)(33656002)(66476007)(4326008)(66556008)(76116006)(64756008)(66446008)(66946007)(66574015)(38070700005)(5660300002)(55016003)(316002)(86362001)(53546011)(478600001)(54906003)(7696005)(71200400001)(9686003)(110136005)(83380400001)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Z3JyczR3MTBPYVRFUStHRHZpc0MycmIxeTU4TnJta3dteHprcE9aTFowcUZR?= =?utf-8?B?V1JQc3puVjNKd0tyK0x0Y1hSOHd4SmdoQSsvR29tclB5UEtwYVRPSVBMbUZJ?= =?utf-8?B?ck44WVNGOUZVekZlS1RScUdoeWI1UVZtVHlBak1nc0s4TFc3UmNqUGNnMnNF?= =?utf-8?B?d2lrRzBXYlVVS1NlWkpaZ01PMzZQSmszSk1XVm04SXQwcmQ2d1I2blAyM2sx?= =?utf-8?B?RDI5K0FYdTdrbDdBK1ZUOWdxUGw3Y3ZrN3hmVmt6Q1U0T1dla3ZWclVPUVJj?= =?utf-8?B?Nzl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U1hyd29KWnQwWEQzNk9STWhI?= =?utf-8?Q?7/ytJnmeXcNs1O47gV5LEDikG?= 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: 7f7714c1-5696-4112-463c-08db0a73c8eb X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2023 08:01:01.0967 (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: 8mNmbQdzDBmKwf9mJ/+i7nBlRZtxxx0tjPEcH8UlvBO/OBew8h7dgGVHJiryqibTitBKTxGAyNLUzLoi8Bk3OA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4610 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 MyA2OjQ1IFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ2M6IG1heGltZS5jb3F1ZWxpbkByZWRo YXQuY29tOyBzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZzsgWGlhLCBDaGVuYm8NCj4gPGNoZW5i by54aWFAaW50ZWwuY29tPjsgSHUsIEppYXl1IDxqaWF5dS5odUBpbnRlbC5jb20+OyBXYW5nL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