[dpdk-dev] [PATCH] test/test: properly clean up on exit

Pattan, Reshma reshma.pattan at intel.com
Thu Aug 2 12:14:48 CEST 2018


Hi,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Anatoly Burakov
> Sent: Thursday, May 31, 2018 5:14 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] test/test: properly clean up on exit
> 
> The test application didn't call rte_eal_cleanup() on exit, which caused
> leftover hugepages and memory leaks when running secondary processes. Fix
> this by calling rte_eal_cleanup() on exit.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>  test/test/test.c | 33 +++++++++++++++++++++++----------
>  1 file changed, 23 insertions(+), 10 deletions(-)

Reviewed-by: Reshma Pattan <reshma.pattan at intel.com>
Tested-by: Reshma Pattan <reshma.pattan at intel.com>

Thanks,
Reshma


More information about the dev mailing list