From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mem: mark pages as freeable on exit Date: Fri, 13 Jul 2018 11:18:35 +0200 Message-ID: <2641247.6ldZ4oOnvO@xps> References: <75e29ea61b1102ea218118d7473ca0ab2e53a0c2.1527782487.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Anatoly Burakov Return-path: Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id D23BD5F57 for ; Fri, 13 Jul 2018 11:18:39 +0200 (CEST) In-Reply-To: <75e29ea61b1102ea218118d7473ca0ab2e53a0c2.1527782487.git.anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 31/05/2018 18:11, Anatoly Burakov: > When rte_eal_cleanup() is called, it is expected that DPDK will be able to > release all of its memory back to the system. However, if pages are marked > as unfreeable, the pages will not be released back. Fix this to mark all > pages as freeable on calling rte_eal_cleanup(), but only do it for primary > process, as secondaries can come and go. > > Signed-off-by: Anatoly Burakov Applied, thanks