Re: [dpdk-dev] [PATCH v4] test/func_reentrancy: free memzones after creating test
From: Olivier Matz <hidden>
Date: 2021-09-16 15:04:32
From: Olivier Matz <hidden>
Date: 2021-09-16 15:04:32
On Sun, Aug 22, 2021 at 09:57:40PM -0500, Joyce Kong wrote:
Function reentrancy test limits maximum number of iterations
simultaneously, however it doesn't free the 'fr_test_once'
memzones after the fact, so introduce freeing 'fr_test_once'
in ring/mempool/hash/fbk/lpm_clean.
Meanwhile, add the missing free for test case on main thread.
Fixes: 104a92bd026f ("app: add reentrancy tests")
Fixes: 995eec619024 ("test: clean up memory for function reentrancy test")
Cc: stable@dpdk.org
Signed-off-by: Joyce Kong <redacted>
Reviewed-by: Ruifeng Wang <redacted>
Reviewed-by: Feifei Wang <redacted>Reviewed-by: Olivier Matz <redacted>