From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 24F43A04BC; Thu, 17 Sep 2020 12:37:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E90D1D5E3; Thu, 17 Sep 2020 12:37:20 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 633241BFD9; Thu, 17 Sep 2020 12:37:18 +0200 (CEST) IronPort-SDR: Fl7qCSNTY99JSwyC6nEBp5sObsb3PwZ/nVK3QCrRzjYNvnQVwe0TbXY7geJ3iEavDZd3xzB9za MJ9Uak+G9UGw== X-IronPort-AV: E=McAfee;i="6000,8403,9746"; a="221217814" X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="221217814" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 03:37:16 -0700 IronPort-SDR: FlXWFOiWc8peYcRLoa6aeJz7q3JE8BsKBCrVQJDN+n3FoEiFPvPVyoPpOgykVEmjLf0n4fEzgV Wfyxehr4Y35w== X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="483694713" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.213.206.43]) ([10.213.206.43]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 03:37:14 -0700 To: wangyunjian , dev@dpdk.org Cc: ferruh.yigit@intel.com, david.marchand@redhat.com, jerry.lilijun@huawei.com, xudingke@huawei.com, stable@dpdk.org References: <20200614140034.E5CDC49E0@dpdk.org> <1599821862-27816-1-git-send-email-wangyunjian@huawei.com> From: "Burakov, Anatoly" Message-ID: <0064093a-bde1-93d0-5612-a3023101a464@intel.com> Date: Thu, 17 Sep 2020 11:37:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <1599821862-27816-1-git-send-email-wangyunjian@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] vfio: fix mem leak when unmapping resource X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On 11-Sep-20 11:57 AM, wangyunjian wrote: > From: Yunjian Wang > > The 'vfio_res' is not freed when unmapping resource by primary process. > This leads to memory leak. > > Fixes: ab53203e194b ("vfio: enable unmapping resource for secondary") > Cc: stable@dpdk.org > > Signed-off-by: Yunjian Wang > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly