From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C52AC21785; Sun, 28 Oct 2018 22:33:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 28 Oct 2018 22:33:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=f7vzHlOWmgfNiqR2q65318Ka8wQTBujUNzWAW6yppfk=; b=CTfw8Bp+HRRK 75gmEawoqOoMjSnNiW0TzzztzezidH+UWdpvolK9IbhUsRkAXkSznKbTJNMva/ey 4VQZmgO+J/JWeH9984eIvimo70u3P0FCXWlWNeB31cZ5uG6PXku+NlGKfk3zYfg3 1zB/EtLjnEFU6E3j4U4KgGB+5Nz80c8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=f7vzHlOWmgfNiqR2q65318Ka8wQTBujUNzWAW6ypp fk=; b=sv4ZQra73p8laUf9iPwcFPtHElSxak1O7WZ0AGJxTS4z8lpnVAJbad3LA G/OBVpvuQHB+8ssQ/1TsYBODZjzPNa1GhTH2zFadmmodn9hBhoOIoTpRWYuZSwva DiGbe4CQqXvaSQu4kAp19TwCafF2aPUdkxfTb/i9NiGGRNyjpkDg36IZ3aGCdnyT CdyRvrSkA728uw1z4esVTfaHukyROUzOfUlmTUqDjFl3c1KcLn5Ug6ibeFjsv9Qi lNs9LAeSh8/HoQ6M1rNhlkGKN/qkUyxLIPPrQpps76MhH77wxemwhnI4lXygnWB3 /IkUy+JQPBcJvNU3ByspfadDO3cRw== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9DF1FE4074; Sun, 28 Oct 2018 22:33:48 -0400 (EDT) From: Thomas Monjalon To: "Burakov, Anatoly" Cc: dev@dpdk.org, "Pattan, Reshma" Date: Mon, 29 Oct 2018 03:33:55 +0100 Message-ID: <1854898.F69UVmMPH2@xps> In-Reply-To: <3AEA2BF9852C6F48A459DA490692831F2A3786DF@IRSMSX109.ger.corp.intel.com> References: <5edc30573ed29b8e83ac33ea0decf7e41a07b766.1527782953.git.anatoly.burakov@intel.com> <3AEA2BF9852C6F48A459DA490692831F2A3786DF@IRSMSX109.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] test/test: properly clean up on exit 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: , X-List-Received-Date: Mon, 29 Oct 2018 02:33:50 -0000 > > 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