[dpdk-dev] [PATCH] test/test: clean up memory for func reentrancy test

Olivier Matz olivier.matz at 6wind.com
Thu Feb 1 14:00:10 CET 2018


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 <anatoly.burakov at intel.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>

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.



More information about the dev mailing list