> From: Varghese, Vipin > Sent: Friday, January 26, 2018 8:56 PM > To: Van Haaren, Harry <harry.van.haa...@intel.com>; dev@dpdk.org > Cc: sta...@dpdk.org; Varghese, Vipin <vipin.vargh...@intel.com> > Subject: [PATCH v3] service: fix memory leak by rte_service_init > > The rte_service_finalize routine checks if service is initialized > or not. If yes; releases internal memory for services and lcore > states are freed. This routine is to be invoked at end of application > termination. > > Fixes: 21698354c832 ("service: introduce service cores concept") > Cc: harry.van.haa...@intel.com > > Signed-off-by: Vipin Varghese <vipin.vargh...@intel.com>
Thanks Vipin! @Stable - this patches allows for fixes secondary processes that init and quit often, to avoid leaking hugepages memory. As such, I think it is valuable to include in stable. Acked-by: Harry van Haaren <harry.van.haa...@intel.com> > V2 Changes: > - renamed routine to finalize (Bruce) > - improved code flow (Harry) > > V3 Changes: > - fix order of function in map file