Re: [dpdk-stable] [PATCH v2] app/procinfo: Fix memory leak by rte_service_init
From: Thomas Monjalon <hidden>
Date: 2018-01-26 16:59:47
From: Thomas Monjalon <hidden>
Date: 2018-01-26 16:59:47
11/01/2018 20:47, Vipin Varghese:
When procinfo is run multiple times against primary application, it consumes huge page memory by rte_service_init. Which is not released at exit of application. Invoking rte_service_finalize to real memory and prevent memory leak.
I don't think it is correct to call rte_service_finalize in applications, while rte_service_init is called in EAL. Maybe we need a new function in EAL.