[dpdk-dev] [PATCH v3] service: fix memory leak by rte_service_init

Thomas Monjalon thomas at monjalon.net
Fri Jan 26 17:54:45 CET 2018


26/01/2018 16:20, Van Haaren, Harry:
> > From: Varghese, Vipin
> > Sent: Friday, January 26, 2018 8:56 PM
> > To: Van Haaren, Harry <harry.van.haaren at intel.com>; dev at dpdk.org
> > Cc: stable at dpdk.org; Varghese, Vipin <vipin.varghese at 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.haaren at intel.com
> > 
> > Signed-off-by: Vipin Varghese <vipin.varghese at 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.haaren at intel.com>

Applied, thanks


More information about the dev mailing list