> From: Varghese, Vipin > Sent: Friday, January 26, 2018 8:56 PM > To: Van Haaren, Harry <[email protected]>; [email protected] > Cc: [email protected]; Varghese, Vipin <[email protected]> > 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: [email protected] > > Signed-off-by: Vipin Varghese <[email protected]>
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 <[email protected]> > V2 Changes: > - renamed routine to finalize (Bruce) > - improved code flow (Harry) > > V3 Changes: > - fix order of function in map file

