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 72ED2A0508 for ; Mon, 9 May 2022 05:13:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45DF44068F; Mon, 9 May 2022 05:13:13 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 72A014068F for ; Mon, 9 May 2022 05:13:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652065991; x=1683601991; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=GwopEc4duF4N7K2anLV9KpCpYa0kLhga3Rfb2JiuAno=; b=khQD5Io6oPKkIQGx4ombUKITvAT/51SaZ2sumMnhLJbH/+wHWXECZ1at 74TxEsYmCE7ePUyvuRFBdy6d5gP70wKpo+0apYFk5bx32wRFrs6AeBdg/ 2WEmfk+KVnHTRWbBZn1j1exsZRMJPZqO6skE3NeK9+4kV3OEmCKUNv3p0 +F/5dANDEx6d/5kLfoM566fpNqfKz/LtmtvCKxxU1CThBZdU63mmNVEpr POhWSpQQwcJSaM36KLW2FnKqWa4jTzDFCXs4XZNlkddMm2nJeIdTV9+Y1 +4WG+YORybJfyFVaHiLGISSIe5PMhgHbcrnFprc0euhjgpFe5iGH/6Z9B Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="268581307" X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="268581307" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2022 20:13:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="564824638" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga007.jf.intel.com with ESMTP; 08 May 2022 20:13:10 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Sun, 8 May 2022 20:13:09 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Sun, 8 May 2022 20:13:09 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.172) 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.2308.27; Sun, 8 May 2022 20:13:09 -0700 Received: from PH7PR11MB6006.namprd11.prod.outlook.com (2603:10b6:510:1e1::13) by CY4PR11MB1463.namprd11.prod.outlook.com (2603:10b6:910:3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.24; Mon, 9 May 2022 03:13:03 +0000 Received: from PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::a414:94ac:532:112e]) by PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::a414:94ac:532:112e%8]) with mapi id 15.20.5227.022; Mon, 9 May 2022 03:13:03 +0000 From: "Ling, WeiX" To: "Ma, WenwuX" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "dev@dpdk.org" CC: "Hu, Jiayu" , "Wang, Yinan" , "He, Xingguang" , "Ma, WenwuX" , "stable@dpdk.org" Subject: RE: [PATCH v3] vhost: fix deadlock when message handling failed Thread-Topic: [PATCH v3] vhost: fix deadlock when message handling failed Thread-Index: AQHYYdOPjUQ+BOyk3UaqP5ClUmG2e60V4Zgg Date: Mon, 9 May 2022 03:13:03 +0000 Message-ID: References: <20220505134008.2865-1-wenwux.ma@intel.com> <20220507132753.11357-1-wenwux.ma@intel.com> In-Reply-To: <20220507132753.11357-1-wenwux.ma@intel.com> Accept-Language: zh-CN, en-US 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-office365-filtering-correlation-id: b8bc5153-07bc-44d3-3d69-08da3169d4c6 x-ms-traffictypediagnostic: CY4PR11MB1463:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mUAnJfbaB6RhqAkErh/XABYnh5phstj0yb8MCAjlXa4bn4mlQF9TSLWJEzrW4VEZv1w6AVEf9VLPJeZoM5DzBp5ylbAbn8oKQkius7UBEi+eRK3SWIhYHf1ySKsGx9FmEbaddcAlae4PITJGbPmd+K5MjceZkxBSxLdSprNYLClLeBPxImZmWB7eSguLp2oY18Ji1p1Q6f4+uwYRpMC5SfpnqLpfjTu4xykusYLbXrrirVLTmi0xMfQt8e8hU+TH1Fh+sYI1LR4D0RrBKc7OePpjAHQZJrxJZ8AsyxHmV8aJ0zEGlBkv97fF+wF1Gl/xTzGnvMmo2YwrIBfxXIqA9w4uNaD0lIX3w8fiu8Um+KLjsimQkJcaVeK4RRho8R331rgKoWSVGVCkicqw/evtIpgfegVlDypv+sUGipzdyMyyk9i2UfRf99hL27Iig2WBff6OJ7H++i+rL0PSluOLyKZndakmgGOBWsxYG6NXdMosUGGxQ+EHMj7q0ePYMbh3oikk9ydZ2UP2QR9wgNfCPrLXlslFTHckjMqNXgXVc8rBWP1POKM4iOZR5mAKYQoe1D7Bo9wryMekysKdT0OnyBWQB00NWqPTgzbVylbJBAWUqrtaKlX645ToIvjcxt4LzbcqZpD2pNoY7ZaElQcQXyAUubT2et8gtI1ThifQKSjmAoJxKZNaohgx6zR5/+t6jyzInZcPTdVFBP6qi8BXA1qd+t16DvLz06vgPLKWkisWE6oA1//kLOz4zNfHYAVb x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(8676002)(38100700002)(76116006)(64756008)(38070700005)(2906002)(66446008)(66476007)(66556008)(66946007)(15650500001)(4326008)(83380400001)(122000001)(86362001)(82960400001)(52536014)(8936002)(110136005)(316002)(5660300002)(6506007)(54906003)(9686003)(7696005)(26005)(55016003)(33656002)(71200400001)(4744005)(508600001)(186003)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tjGmp3oWKpD2MmrtRSftPfh5yy9J+C5koSPAt3Bkja3gJUKT7fD1dsBuu6fS?= =?us-ascii?Q?WTUzLfU5fZIWGK4zWoquz8KVihGDo6m4eFxyhuSUKMZ41QzvUhJov5pdFcNN?= =?us-ascii?Q?bzSJnB3POjgjt1tk/Vd5gYZiaAZNk+N7VtMANXZPRwuIYKmH9kFHfhmPQFmA?= =?us-ascii?Q?mdb8Y3XszpgEJNwoWoIjBJvP4S72owznSQmfKuCPdN44iTbdf5XXgAX81MFr?= =?us-ascii?Q?o/zyOLN9iGvhwNV9SAaWDPjYYAVYHxO9VBWM3jbD7/eIdmgAmCWR1b/OP34J?= =?us-ascii?Q?UYDrzK+tjDqDQUcVK6eDpyoIRmuyavE4Lmy6Qr24aumYOh5V+8ePetUekv1t?= =?us-ascii?Q?5+Z50y5kSq7zrdQk1ChP6VJs9KUfT9qHirxtlvyxxgzjme6zwS+OHeZ4HJbB?= =?us-ascii?Q?THT7i5v7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= =?us-ascii?Q?RgEobAHN6W86ENO6lm/D8OHUH7t3i3gUuuHBge5QQRSuSShSg3arH7wk0baM?= =?us-ascii?Q?GgAqxckb3/YD/6X8evxlGgs4xuWy4nl0tXcOxSp1vAb/C/VNB36ffa3TzQ9W?= =?us-ascii?Q?tPiPpQ0XUKVlhVH3B4KrXgQurkExe+GDu3jmOW7dfNS2kTlMs0p0XTAGeNnk?= =?us-ascii?Q?Py7wxjnIjLd7R1KkMLnOgN4G3yML4kf/HItm7S2cEIds5rSJppLzxLyEa6ni?= =?us-ascii?Q?4PfGAgnVeWRzR0F8nmKgjnF2/8S0Fjvd7fKm7zGFl7lcKdVKfk516jy26RJF?= =?us-ascii?Q?y4yvmyW1IbpYqSYbqzU8h7JG3tJ58vIYCBTzlGIgSTO6Hb1fPJClnHfQPq0L?= =?us-ascii?Q?cCGdYN5p4bSUaxxDCopsV0P7FBu2RUpNDKDmcIRXSeqawPzCKYYbaO1hqYn+?= =?us-ascii?Q?rNXP6mL/7A=3D=3D?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mHJal1ZBZGvMVK3PpH6U0z3bnFjso0cLw3RqpiwwOrpJBZEizwAyqStQGOFLnJSlHy5SvNI0qrinkEaYgee1gKeWi8yo7ZXxufGf9FAIGs91aRYmLmGSNkD94qqMiUCzlEB6/d7EIw17qrJpynyfeUMbbziGN4yD4oXP8oDork0vx9gN41Ab5FIr9RPSFAFpMFImRLJGwStLFx6G0XWCSUvgXBtcgO299ylETFxKA/i8VGJlfy42cTF2B2t6XX2ZP8mxN5oGbHq69vgFt5rSJyjlUlaccNpNEGK38M2xEen5klgVeJvXi/6TACWiuuCgvt3q1cCXP3CxpK/MQ+vK7Q== 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=vKxNveCt+8rvKoWwWsclYs2jxWThC+2swSdhva8EHkM=; b=SPyWAti97hXLqlBTFBHnO+yUPyahIZEzOcMPkPwiyXULWNHY1CfO/IIibPuKN6wZQYNXGjU06fliazKhIB4/006c5wVUdPP6W1tLefy/UCpxJ9zcJaDhKlI2GsYuQEYcsGnxrqpr0IddqpENIIOgzA/m8HXrm91nXO2FkggbLTetCJeTTuQlUquFdFwEq080hMFpF9n5FbPbyTYSmsULV9NJgLITVQQj73ftPw+3Owo3/rx8XGb4d5gT0aPywTPRxynyccUJH9znckxzsvvXLQfv67N8TOxvV/V7tzzLgJIwB+86MV79DOI3KsAP8vSnhRf/3KrsOGnrdvBIq5UliQ== 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 x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: PH7PR11MB6006.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: b8bc5153-07bc-44d3-3d69-08da3169d4c6 x-ms-exchange-crosstenant-originalarrivaltime: 09 May 2022 03:13:03.7279 (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: C7lRF4p8ieuiG2L3LGEjpTSD359Xw8pXAkq0jrYU0G523/3LOt5hJC7qtlmaaycSPI1kOZyOCNJa3xBzYryxTQ== x-ms-exchange-transport-crosstenantheadersstamped: CY4PR11MB1463 x-originatororg: intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Wenwu Ma > Sent: Saturday, May 7, 2022 9:28 PM > To: maxime.coquelin@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; Wang, Yinan ; > He, Xingguang ; Ma, WenwuX > ; stable@dpdk.org > Subject: [PATCH v3] vhost: fix deadlock when message handling failed > Tested-by: Wei Ling