From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test/test: clean up memory for func reentrancy test Date: Tue, 06 Feb 2018 01:44:47 +0100 Message-ID: <4097298.0NWi43mqUL@xps> References: <9cdb33a6cce1c7c7107dd63f73fbab9c168c6c92.1517405600.git.anatoly.burakov@intel.com> <20180201130010.qbzl6rfvvnk5375l@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Olivier Matz , Bruce Richardson , Pablo de Lara To: Anatoly Burakov Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id EC5761B644 for ; Tue, 6 Feb 2018 01:44:50 +0100 (CET) In-Reply-To: <20180201130010.qbzl6rfvvnk5375l@platinum> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 01/02/2018 14:00, Olivier Matz: > On Wed, Jan 31, 2018 at 02:17:32PM +0000, Anatoly Burakov wrote: > > Function reentrancy test limits maximum number of iterations based > > on the number of memzones and cores, however it doesn't free the > > memzones after the fact, so on a machine with big amount of cores > > the tests will fail due to running out of memzones. > > > > Fix this by introducing cleanup functions for ring and mempool > > reentrancy tests. > > > > Signed-off-by: Anatoly Burakov > > Acked-by: Olivier Matz Applied, thanks