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 9E041A00C4 for ; Mon, 11 Jul 2022 10:42:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91F1540DFD; Mon, 11 Jul 2022 10:42:29 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id B619D4021F; Mon, 11 Jul 2022 10:42:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657528947; x=1689064947; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=o4t/b1up/0+HazejibV+NwSfvQgUcLmc5x3djON6Lpg=; b=c6rl6wCcebNsB9bvY9rKzxxSffL8/Xhi7K4WUzDj9RQJzF16ceJdcSGV s9MkCi5thG+V9NSfRFZRmO4YsZukaNDaR8LUUvkGkTFCJCnS7SymoL1Hn Dg6Cwgs87/2Jc1L5O+eC+FSmzh0yqKR6sqB1rXqd7EK3ZKnNcQONzqTqJ sxIW6uhP2CLKvhB7JXwYink5WAldvnb6Ip6O0s0xkNxPtQYiWhmq7QIZ8 xLWYCm92CqUDFaTsQNOljq9rgY6yDsYcsXYoYGzLBHPf5CETTmoz4ZOpw tEprckrItZOF1In9ByIke2wfVT3Hc9N4CJBsOeLDMqGhQ/F3sx2uk9Voc w==; X-IronPort-AV: E=McAfee;i="6400,9594,10404"; a="284636765" X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="284636765" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2022 01:42:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="592185441" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga007.jf.intel.com with ESMTP; 11 Jul 2022 01:42:25 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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; Mon, 11 Jul 2022 01:42:24 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 11 Jul 2022 01:42:24 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 11 Jul 2022 01:42:24 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 11 Jul 2022 01:42:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R0e+dTpIiOyRSfAmSDHugw8Kpq3cnXDitifF4Ic4qXnsl3xZE45cJmcpXJIqm3/l+XTO0mUI9jeFu3cvyYFJN3KszE4SbReoUd29hOAUdgP7iNdsQttivdpWKsQm7Kb978QcI/lsZPlUJWbJmpQeRCmLfaT6pFbrtMGG7hAuedvfA/le9TD4R3hey+mTKvdBL87qb10bgQjYuAaLHyEo+VIsTK3r8ifSKy77iOIY6jrEoOeWJIzVNen2KZ+I8LMv6lXapA1c7z0TL0jUVTpAY+I4Zhpw1GzhBAW18hWsHQncmERjTdx6D1LK64KyccGXFYRBvxZ+VFoaqrck0bYuZQ== 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=o4t/b1up/0+HazejibV+NwSfvQgUcLmc5x3djON6Lpg=; b=IkWWbnqtLB950cqx5h5yCe6UFKgL9L+mAUrQ8yueX0ARtZCJdMFC0Zd4csGIebwhOCFDRDmQqzoHhv7gGFIMDJnQzHJ9Y6jNbOk1RsIsR+V63zIv1xatcPZBxUJVuxF5NoIXQYqCEkXkB2XkX8pPaOzIVdoeF2sI89NGGjSAY7zw/iXUIqHAZ2Cl718DGnRLoZ1wxKOIJD6crOlShAgDRmTKk2Bx6dciT1VBCBu87CroK7EcfwTPYYK6f9Sai12L7h0oSXf1UEAOY9qLwSP/ULAVtALdTngCBP732CbrLXlzeanPJTs8afJqlGzL6B580fQvIm6n6hmnh84GaSQhDA== 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 DM5PR11MB1739.namprd11.prod.outlook.com (2603:10b6:3:111::22) by DS7PR11MB6040.namprd11.prod.outlook.com (2603:10b6:8:77::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26; Mon, 11 Jul 2022 08:42:23 +0000 Received: from DM5PR11MB1739.namprd11.prod.outlook.com ([fe80::59a:a470:e07d:74bc]) by DM5PR11MB1739.namprd11.prod.outlook.com ([fe80::59a:a470:e07d:74bc%11]) with mapi id 15.20.5417.026; Mon, 11 Jul 2022 08:42:22 +0000 From: "Pei, Andy" To: Maxime Coquelin , "Ma, WenwuX" , "Xia, Chenbo" , "dev@dpdk.org" CC: "Hu, Jiayu" , "Wang, Yinan" , "He, Xingguang" , "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: AQHYafFgk3a1rt/JOEyK7yN0T9BPWK15LyUw Date: Mon, 11 Jul 2022 08:42:22 +0000 Message-ID: References: <20220505134008.2865-1-wenwux.ma@intel.com> <20220507132753.11357-1-wenwux.ma@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.500.17 dlp-reaction: no-action 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: 28ff3e64-707b-47e7-a896-08da63194627 x-ms-traffictypediagnostic: DS7PR11MB6040:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dueyuYKOvneJ78jLi7FrzLG8lpQbHbvh9N9OrPHe0O6cL3LAZ13B3ftHaXYF+h0QRyKmXBknZemTB1/xvVLDWupiWyZ7VUaIJLMxt5D4i44waHEYHW0mR9gOQLFJFofoNqZuEMjz1fv8vD5/MK462PXU1vPOLJQ5SgYUtpaaG+vgFtNLLsldFMySGJnjVViSrwTw3tr5tAIAxfkwk1UEg94YuLy3YtrNEQR7+sYmSxMbq1kT3ReYJjl8O97TKJEe6NvqjLNVax518wBrwPvNR6M7ZL644qVNUtlDBJJW9HuBE88XA0zeBQzzJ3nl3moDwvHdnye4QqpopjZnNUBKdTlycobY9bAazrQwIWDdHAj9GBPVQq8rGOp2D5359AorV9ZCIIo9ag4MnQ2bhbRYs6gRnZsWWLfahejOmlhUzsCVn1C+WOTH4724sPehn9ZwcFXE6n8ovPupSscVoRPlU+rifE2tO+JhzrgH+D2hOKIx+q83p0LoDXbmxF34gRSx1Hxr3JqHjy2TIXhmOrfGySYidtjgX7TkBcpYP+PrGCJHvbhxkrVNIQJ/9cntv76/OZEpWTp3gQmosLFjWErffc7z/u8JcehMx1v1OjKbF4XjuOQCcvQtXfl3xgK67XLa1xQmNdrvlzINRYh7kCVXMIycvb6gW05ipcC1qfQwFRWf4tT8aW4GbMHhgJA2yGyjeyegLLSraacw9rQw35oDbqU7Cv/c0SCTauwuevrVXro8932PTG/ovrR4mzptfj6vy85+W2AP39hCYMUVwwbxQRE9RBitS2OMb9PscGhONRVz4F0QC8ZpwxMECkn1hiwm6F1/qK97PhwUN2oj60Zc4g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR11MB1739.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(39860400002)(346002)(376002)(396003)(366004)(136003)(110136005)(54906003)(478600001)(71200400001)(122000001)(86362001)(76116006)(38100700002)(41300700001)(33656002)(7696005)(66476007)(64756008)(4326008)(8676002)(66446008)(66556008)(66946007)(316002)(186003)(38070700005)(15650500001)(55016003)(6506007)(9686003)(53546011)(26005)(8936002)(52536014)(5660300002)(2906002)(82960400001)(83380400001)(21314003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NitRNEpYRFpIRENkdmZGVXpyOWE5YWRUWm5WRyt4VVBVRzNsT1BhUFZsZ0FQ?= =?utf-8?B?OEp2NjZxcVBVWjZCNGRyUXFnbmprMmxucE5RK3RIZkU2ajhDQkZoMjFsWlBa?= =?utf-8?B?eldkTEF2QlFuR0dZbVR3ZXhncndTWmxhb1JOVXZTd0lRU2lwdm92YVNOc215?= =?utf-8?B?UEROZmlrNXAzNmg0VWJwVCt4dWxtYVcvY01SaHd4OGxteDRnbFpLdFlRWU9Q?= =?utf-8?B?WWlyRj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y?= =?utf-8?B?VFNWSXZtWnhDRlVEVDV3akloL0lERkFXbkVnTEpVY3FBRitsN25zSm84MjFK?= =?utf-8?Q?OaGX9bX50Sq5DjcxpUPHcBDvV?= 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: DM5PR11MB1739.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28ff3e64-707b-47e7-a896-08da63194627 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2022 08:42:22.8057 (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: 9XYx8yRdZJBLuS1iRpignOLZJRlAJOkvgmo03pj8KeDdn7YbFNllMfrWrDqs/UruSKXapLAOYWF3IXIHRkcFzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6040 X-OriginatorOrg: intel.com 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 SEkgQUxMLA0KDQpJIHNlZSB0aGF0IGluIGZ1bmN0aW9uIHZob3N0X3VzZXJfbXNnX2hhbmRsZXIu DQpXZSB1c2UgInJldCIgdG8gc3RvcmUgYm90aCB2aG9zdCBtc2cgcmV0dXJuIGNvZGUgbGlrZSAi UlRFX1ZIT1NUX01TR19SRVNVTFRfWFhYIiBhbmQgZnVuY3Rpb24gcmV0dXJuIHZhbHVlLg0KSSB3 b25kZXIgaWYgaXQgaXMgYmV0dGVyIHRvIHVzZSB0d28gZGlmZmVyZW50IHZhcmlhYmxlIHRvIG1h a2UgaXQgZWFzeSB0byByZWFkLg0KDQo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