From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test/test: properly clean up on exit Date: Mon, 29 Oct 2018 03:33:55 +0100 Message-ID: <1854898.F69UVmMPH2@xps> References: <5edc30573ed29b8e83ac33ea0decf7e41a07b766.1527782953.git.anatoly.burakov@intel.com> <3AEA2BF9852C6F48A459DA490692831F2A3786DF@IRSMSX109.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Pattan, Reshma" To: "Burakov, Anatoly" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3667FA49 for ; Mon, 29 Oct 2018 03:33:50 +0100 (CET) In-Reply-To: <3AEA2BF9852C6F48A459DA490692831F2A3786DF@IRSMSX109.ger.corp.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" > > The test application didn't call rte_eal_cleanup() on exit, which caused > > leftover hugepages and memory leaks when running secondary processes. Fix > > this by calling rte_eal_cleanup() on exit. > > > > Signed-off-by: Anatoly Burakov > > --- > > test/test/test.c | 33 +++++++++++++++++++++++---------- > > 1 file changed, 23 insertions(+), 10 deletions(-) > > Reviewed-by: Reshma Pattan > Tested-by: Reshma Pattan Applied, thanks