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 8A3A7A0508; Mon, 9 May 2022 05:13:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78043406B4; Mon, 9 May 2022 05:13:24 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 33DEC4068F for ; Mon, 9 May 2022 05:13:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652066001; x=1683602001; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=x1IMf+2aujO43iRfQHxcQEIdiYyv5Ed6D+q9XE32EW4=; b=hyM0lrH4kyhtFHlQoBwmVC+EyA91NCbN1WYjTGhIXKsqcoXl4+iRGXpc KLdjwlMUCOj18SOXk38fGtqQR71qVY4Jhdd4Ith+lxLPCLNsv3ZBWZwLc mGvuip6USSaEvLQCDRCKOthC4Hb/s25ZONYVfraN8e8vQveIkmSRD+Kqf odV225fvSbq2uW0rk6zGBIDcaVdIZBf0EfV/n2Zd8hSJ/gwiOg1lQsEUR DyztghNgJBdj1/3mVpDIDMJzWhaBefhfR2EI16BytoB55YiiERTK6GeUE NqklUWNqd4cGhYpeh/kia7RgUON9GFWxXkNVpXA/JXRaq3OfGjmliG2wb w==; X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="331951531" X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="331951531" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2022 20:13:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="737952359" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga005.jf.intel.com with ESMTP; 08 May 2022 20:13:10 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:10 -0700 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.2308.27 via Frontend Transport; Sun, 8 May 2022 20:13:10 -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:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BAGA7eqAFgNQwTIYqMH/enGKfg4l+jbcuPIU290mPkW8UdhFcV9v9C2djcNsw4H0+W7haEL/I9vEWZuAz8YDZxYn2ffwotSmtAU3to/wmQzl/Qi8BnkBF4uQukY9Yfn2/PmblkmNfykdX5Z96e0IwVmREynHS8Pske9o0iYgYNwwSJ3RC5VF+yAE6NKypfGrz8iPiZmcNuZB7X8+opE2EFSkxltNAw6/3IW8cfVSpt+5bMRG0ULlOkl4YknDUQbRgACtb8LVM65QqCwfdUg/H6aAJlNaspP8BWZoVmoDdikveqEaYhCeYm9eagn5KZk2bkZi+iYKJWdMQSTQ/x1oqg== 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=x1IMf+2aujO43iRfQHxcQEIdiYyv5Ed6D+q9XE32EW4=; b=ZIUMGU6NmohqsL8LvI/6okA/T0v/kqyxDDAy0Z9YbPHbWC09qcFuSYluYWTBCv4Wq3hZ/ggYktGIpCukwXQW6L1Mn+zKL6Y0mE2YvL5lb/9QlXYrfPRz7bayv4tnbjmXCUn/Y8OpKZM2Xdk8UVVwc8RAgypLU9V0N3wbf+EofOKl4hB7PpsrpKxcgpMFgRLkEtXJt9CnU/2U0IwUTR7MUWc5seynmzG6y8kiJjcDqp3g2ZMpDR/mMZIzWIrKXuN2wp0vxGD9DXoAOWw10sBtKdMcfeb34C86NSgEzBg7kP+AGornQROmvZTQb+gP44bEMxequKTcw355nPnck160MA== 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 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?THT7i5v7JxNHhfHVFwrXcc0rzkQys7tAU3QxX3C9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OHUH7t3i3gUuuHBge5QQRSuSShSg3arH7wk0baM?= =?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?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 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 > -----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 >=20 Tested-by: Wei Ling