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 DFE34A04DB; Thu, 15 Oct 2020 11:55:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD5881DDD7; Thu, 15 Oct 2020 11:55:00 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 3E8B31DDA2 for ; Thu, 15 Oct 2020 11:54:59 +0200 (CEST) IronPort-SDR: 7UihwjHqAMeVjhYKsWCtF5cRCBkSATiOkoZi6Fu/A1aryO9DYVQ/z03tWS6g6Z1xflP8cOKkpL B3wT3mhQbJzQ== X-IronPort-AV: E=McAfee;i="6000,8403,9774"; a="163675988" X-IronPort-AV: E=Sophos;i="5.77,378,1596524400"; d="scan'208";a="163675988" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 02:54:56 -0700 IronPort-SDR: ILLlq6NSzykGLu2+1xMhHE0DUFwyivxvB/ztz5TK1N6MdIQ6pmV6cEhA1hFoFlaMDzsVlgWmj+ 89x1s6O35XDw== X-IronPort-AV: E=Sophos;i="5.77,378,1596524400"; d="scan'208";a="521782258" Received: from orozen-mobl.ger.corp.intel.com (HELO [10.213.243.220]) ([10.213.243.220]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 02:54:54 -0700 From: "Burakov, Anatoly" To: dev@dpdk.org, stephen@networkplumber.org Cc: Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam References: Message-ID: <1d5647d7-2825-9e40-45d3-7fbd3a3e1806@intel.com> Date: Thu, 15 Oct 2020 10:54:51 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4] eal: detach memsegs on cleanup 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 14-Sep-20 2:04 PM, Anatoly Burakov wrote: > Currently, we don't detach the shared memory on EAL cleanup, which > leaves the page table descriptors still holding on to the file > descriptors as well as memory space occupied by them. Fix it by adding > another detach stage that closes the internal memory allocator resource > references, detaches shared fbarrays and unmaps the shared mem config. > > Bugzilla ID: 380 > Bugzilla ID: 381 > > Signed-off-by: Anatoly Burakov > --- Hi Stephen, You were the original submitter for the above bugzilla issues. Could you please review the patch? -- Thanks, Anatoly