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 CA687A034F; Wed, 28 Jul 2021 08:51:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B85DE40E64; Wed, 28 Jul 2021 08:51:59 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id CA48F40142 for ; Wed, 28 Jul 2021 08:51:57 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10058"; a="212317488" X-IronPort-AV: E=Sophos;i="5.84,275,1620716400"; d="scan'208";a="212317488" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2021 23:51:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,275,1620716400"; d="scan'208";a="665776457" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga005.fm.intel.com with ESMTP; 27 Jul 2021 23:51:56 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 27 Jul 2021 23:51:56 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Tue, 27 Jul 2021 23:51:56 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) 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.2242.10; Tue, 27 Jul 2021 23:51:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nTo3PCkiEL6eraotL1s9ubWpH/zLWZEQyx/mOY/XUdBiaY38F8+ptajhmD0ih7P/jRFdRbGPY+zbB+qZrgLkCI91Mq04PsshhOrlspS5yiC7URmGJExU2Vc/8a7Xrk/FAQ2wB8a8vSiVSz8kvyIejM6ILHToJk9RghrF2FwpqHH3+6YEaSXK6KPlVLyGLC0w5mUZs4rZSG1nkGRj1S6lfNNk5I4EUvMQO95mD+RoscC5WE85xtLYzvZsXEpbzoHwC6kthUB7VEIHlZEFlVVR8kV/iakH/weI6rah426XX1j8pcT0jBGZ//qHHDLH99TscqcOCRMZVyKD9D9PNjxJWA== 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-SenderADCheck; bh=fNR9gm9SM/8ysXsk7f77DhcXGlpk5/4mcgSz/p0e4IA=; b=Zi7TyR+iCtnvxWEGxaU7EH81RqddD8A+yn8mI7jF7RQEa5x7cr9s5d9bZNPO5cf+keeCp0V4NdCpi1sVu4LIlL58+palUbd0ZKwvvMw6MeW9/rIngtvNisvtadfeKQAdY4mRCEswwqKusABZ0TQV003rhDHtPItR3g0h+t26jUiDnHu+OGdMxOpVqw8rtQxEKPq9QShruHYCo8/f0Bw0NtPTALKvO4PTVjKBVZFthOtDzVEqzi+6YctjVYuV94MkfUl09xELY6Tdppq2nro6dbK47yjegJUTP87HHpC7+KZLGo1msDEwtyvbMKvtsmoFlu+3pm1ikbKARt0WypvTfw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fNR9gm9SM/8ysXsk7f77DhcXGlpk5/4mcgSz/p0e4IA=; b=alkBid99HBG75nG3nGC49ZyMY5ZQUTTD9qtkFi/v/1K+rLFCe4gOEQCIXgxuRV2Ju4PTCvjy+3xSL0yEFYVjrOZC4kwjGxYraguTKMis3vAqpIR/D12sCB1OXf48zFx0A/wTn82NRjAqS9oisj8wUGQJQ4FbxwH43N2ZFtfduMc= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3728.namprd11.prod.outlook.com (2603:10b6:208:f4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Wed, 28 Jul 2021 06:51:55 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32%7]) with mapi id 15.20.4352.031; Wed, 28 Jul 2021 06:51:55 +0000 From: "Xia, Chenbo" To: Gaoxiang Liu , "dev@dpdk.org" , "liugaoxiang@huawei.com" Thread-Topic: [PATCH] net/virtio: fix memory leak of interrupt handle Thread-Index: AQHXgix6je50dP+RN0yJzRbYrm2UD6tX9adA Date: Wed, 28 Jul 2021 06:51:55 +0000 Message-ID: References: <20210725020315.15010-1-clgx0086@163.com> <20210726144205.177-1-clgx0086@163.com> In-Reply-To: <20210726144205.177-1-clgx0086@163.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: 163.com; dkim=none (message not signed) header.d=none;163.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1a32301d-f884-456c-82d6-08d95194301e x-ms-traffictypediagnostic: MN2PR11MB3728: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: O19Pkqw8AEdIq7TpQs7cI+WST5Buwybvy9Rx9po/WMtjQmb7Lvg++VxQIe7LWTOL9VYsGfi52ZcHLcFB9pQQF28nvsfS0DvhsavIbh46baIks4DNXHYpZS7N1FRoejtcSdce6SkV25haEFpbLl2vtoMOP+2AdzMifMLdKvIEXAmiAuQcL7CNCmsbriju82ySE7gTK/mF1s14kd7CyUQpN/z635eljbTg6mSl36Tv6qCBaGVpcUr6ICnt106WU1pEZlvjyRPGrssbWYiAw2ojssoHGj3BIsuufeqblLAlVwPU4JBnqynjIwAk62IZ56HAoYH9Omch7BWdjlLDlOHo/KYdyjKMvOQxgNIoM/8TED3FUcgKBXmyV47o3ojw85v15vTpiTzocPYE78+icxmFr+5HlvHo8lszk1KrQ+MrqGUVslK+3BC6wxCAzxNhxVhFA1zUpmzMT3Xplk6mOKNckYd1ZirEa4n+tfClMelnpbJe2iZiB7rTqmkBRqx7WPedeqgzu/zBVMGNwAJmCOSdezr8uOJZLIgskfNQYe2+s9I7xjEg5OdbPTmlZ7TAibFhjfgGbIUsANf92mEjDe1BBWY/ExMIWpQEDsq1Xx89vlC/tXEzIMLDk0ZhR26KXRcQDZIg/7ruld5n8wYUMykh6/kWMjqh0KX3BUT/8qXthbTBSBhzbXKxrXy/MmDhJA3qHEA+/Jt4JPRr9RZgCMcmBg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(376002)(366004)(346002)(136003)(66476007)(66556008)(8676002)(64756008)(110136005)(55016002)(66446008)(8936002)(83380400001)(316002)(76116006)(66946007)(478600001)(5660300002)(6506007)(53546011)(86362001)(33656002)(186003)(38070700005)(52536014)(2906002)(122000001)(26005)(38100700002)(7696005)(71200400001)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Ky9LY0tYdzZEWmZlRVNFQXllRWpEOWQwaEhvRHpmTjlJNVhVK2lsRW1UUm0w?= =?utf-8?B?ZWtBNU1sQnM1RjBCVTllenRFcjdLQkZxZUpXZjJnNGt4QnA5ZE9BQkJtb0Vx?= =?utf-8?B?akYrY1A4SC9ReVYySGhnL3d4YVJIOUdxN0pGOWdDQnNOVXllcXl0ck5lckow?= =?utf-8?B?Y0ZCNmI2ZE0wOEFwSytUVUw4QjZQWU1EM0pOWGxmUXZDUlJlakZtUUlCTEp0?= =?utf-8?B?RGZ4VzRyUWRtQ0V2VXBhdUZFMGdmU2IzbFl6STk0dUp0Njd0OXNBdGdicTF3?= =?utf-8?B?QlFRTkh2OXdJcS9pZFgwaURVK3ZzdjVzQkxyUVkveCtjbkV6WlNPdHhQZ0Jn?= =?utf-8?B?WXdNZUMzblllV1loTVB1RkxOYlc5a0ovY2lFVFAyZDBSZHNhL1BRTmtTRTJm?= =?utf-8?B?TmwyeWlUQzQxa0tjQ3VWaTBTS09CUHBsRm1BUzVOaVlhMzdWdzAxU0tneTRz?= =?utf-8?B?bUd5NWJ2YWUyTHRMcUpmY3hlNG8vMldxY1lDZjRKdDVySHF4YldFVmNoWnVM?= =?utf-8?B?NU5ib3BHMnh0NHVqdk5uT2VKM2MxTGZCS0lCZUF2OWh4YkZ4VTNLdzVDQXJ2?= =?utf-8?B?WHlhL1dNWkh5R3NqSlMybEV1SlRWc0ZNTEFyRWZhek9ZZGxiUEdMWk9KSWFp?= =?utf-8?B?MzhjQVJWMVV4L29UK1BucTRHYWg0Z2xzQkg2b0NVUjFiK3BjK005S3lSd01l?= =?utf-8?B?cjdBYVBsRlZiTnd1RVdONFlYY09Fa0U3eHJGNFMrbzJUL091ZXM2aUZ3N2Zq?= =?utf-8?B?ZWt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f-8?B?clczbVNqWGVvakZtVFAyM2ZkWW4wc1QralpxWjBQZURuQXZ3em96by9jWGI4?= =?utf-8?Q?SzOMOMuzLJsB6r1bOQ=3D?= x-ms-exchange-transport-forked: True 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: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a32301d-f884-456c-82d6-08d95194301e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2021 06:51:55.2542 (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: 3FX68dplfS4PXiNc1HvE4wVXg7LffXZAq/T4Lsmf/oELAwjSxT/BytrnDuL0QBOa4f9hmijuOEPkYMc+HXW/kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3728 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak of interrupt handle 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 Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBHYW94aWFuZyBMaXUgPGNsZ3gw MDg2QDE2My5jb20+DQo+IFNlbnQ6IE1vbmRheSwgSnVseSAyNiwgMjAyMSAxMDo0MiBQTQ0KPiBU bzogWGlhLCBDaGVuYm8gPGNoZW5iby54aWFAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnOyBsaXVn YW94aWFuZ0BodWF3ZWkuY29tDQo+IENjOiBHYW94aWFuZyBMaXUg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