> From: Varghese, Vipin
> Sent: Wednesday, January 24, 2018 7:55 AM
> To: Van Haaren, Harry <harry.van.haa...@intel.com>; dev@dpdk.org
> Cc: Jain, Deepak K <deepak.k.j...@intel.com>; Mcnamara, John
> <john.mcnam...@intel.com>; sta...@dpdk.org; Patel, Amol
> <amol.pa...@intel.com>; Varghese, Vipin <vipin.vargh...@intel.com>
> Subject: [PATCH] app/pdump: fix the memory leak by rte_service_init
> 
> When pdump is run multiple times against any primary application,
> it consumes huge page memory by rte_service_init. This is not freed
> at exit of application.
> 
> Invoking rte_service_finalize to free memory and prevent memory leak.
> 
> Signed-off-by: Vipin Varghese <vipin.vargh...@intel.com>

Thanks Vipin.

Note that this fixes a hugepages memory leak that would otherwise
occur when a secondary process initializes EAL and then quits.

Note that this patch depends on the patch adding rte_service_finalize()
http://dpdk.org/dev/patchwork/patch/34555/

Acked-by: Harry van Haaren <harry.van.haa...@intel.com>

Reply via email to