From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH] test/test: clean up memory for func reentrancy test Date: Thu, 1 Feb 2018 14:00:10 +0100 Message-ID: <20180201130010.qbzl6rfvvnk5375l@platinum> References: <9cdb33a6cce1c7c7107dd63f73fbab9c168c6c92.1517405600.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Bruce Richardson , Pablo de Lara To: Anatoly Burakov Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 7BC1D1B1A2 for ; Thu, 1 Feb 2018 14:00:16 +0100 (CET) Content-Disposition: inline In-Reply-To: <9cdb33a6cce1c7c7107dd63f73fbab9c168c6c92.1517405600.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" 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 Not specifically related to this patch, but it seems that the func_reent test cannot be launched twice, because the objects "fr_test_once" are not freed. I'll see if I can submit a patch in the coming days.