Thread (10 messages) 10 messages, 4 authors, 2018-01-26

Re: [PATCH v3] service: fix memory leak by rte_service_init

From: Van Haaren, Harry <hidden>
Date: 2018-01-26 15:20:47

From: Varghese, Vipin
Sent: Friday, January 26, 2018 8:56 PM
To: Van Haaren, Harry <redacted>; dev@dpdk.org
Cc: stable@dpdk.org; Varghese, Vipin <redacted>
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@intel.com

Signed-off-by: Vipin Varghese <redacted>

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 <redacted>

V2 Changes:
- renamed routine to finalize (Bruce)
- improved code flow (Harry)

V3 Changes:
- fix order of function in map file
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help