From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 0C88A1B2BA for ; Tue, 13 Feb 2018 17:05:52 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2018 08:05:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,507,1511856000"; d="scan'208";a="19670371" Received: from silpixa00398672.ir.intel.com ([10.237.223.111]) by fmsmga002.fm.intel.com with ESMTP; 13 Feb 2018 08:05:50 -0800 From: Harry van Haaren To: stable@dpdk.org Cc: yliu@fridaylinux.org, harry.van.haaren@intel.com, vipin.varghese@intel.com Date: Tue, 13 Feb 2018 16:05:40 +0000 Message-Id: <1518537944-125482-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-stable] [PATCH backport 0/4] service finalize and co X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2018 16:05:53 -0000 This patchset targets 17.11 stable, backported fix from upstream commit: da23f0a service: fix memory leak with new function This patchset is a backport of a patches to allow secondary processes to cleaup hugepage allocations that occur during rte_eal_init(). The two applications proc_info and pdump are reworked to call the cleanup function to avoid leaking hugepage memory. Without this patchset, these secondary processes leak hugepage memory, eventually depleting it. The 4th patch in the series is a doc/release_notes patch, which notes that secondary processes should call this before quitting. Yuanhan, I'm not sure where the doc patches should go to note the above - feel free to move to a different section if required. -Harry Harry van Haaren (1): doc/release notes: add note to 17.11 on cleanup Vipin Varghese (3): service: fix memory leak with new function app/pdump: fix the memory leak by rte_service_init app/procinfo: fix memory leak by rte_service_init app/pdump/main.c | 3 +++ app/proc_info/main.c | 3 +++ doc/guides/rel_notes/release_17_11.rst | 13 +++++++++++++ lib/librte_eal/common/include/rte_service.h | 11 +++++++++++ lib/librte_eal/common/rte_service.c | 14 ++++++++++++++ lib/librte_eal/rte_eal_version.map | 1 + 6 files changed, 45 insertions(+) -- 2.7.4