From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from lfbn-lil-1-110-231.w90-45.abo.wanadoo.fr ([90.45.197.231] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ehETW-0000Q7-9z; Thu, 01 Feb 2018 14:00:23 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Thu, 01 Feb 2018 14:00:10 +0100 Date: Thu, 1 Feb 2018 14:00:10 +0100 From: Olivier Matz To: Anatoly Burakov Cc: dev@dpdk.org, Bruce Richardson , Pablo de Lara Message-ID: <20180201130010.qbzl6rfvvnk5375l@platinum> References: <9cdb33a6cce1c7c7107dd63f73fbab9c168c6c92.1517405600.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9cdb33a6cce1c7c7107dd63f73fbab9c168c6c92.1517405600.git.anatoly.burakov@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] test/test: clean up memory for func reentrancy test 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: Thu, 01 Feb 2018 13:00:16 -0000 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.