From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 30CB3A0487 for ; Fri, 5 Jul 2019 15:20:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 06DB71BEB2; Fri, 5 Jul 2019 15:20:38 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A3C0D1B9B5 for ; Fri, 5 Jul 2019 15:20:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2019 06:20:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,455,1557212400"; d="scan'208";a="363178525" Received: from silpixa00399498.ir.intel.com (HELO silpixa00399498.ger.corp.intel.com) ([10.237.223.125]) by fmsmga005.fm.intel.com with ESMTP; 05 Jul 2019 06:20:35 -0700 From: Anatoly Burakov To: dev@dpdk.org Date: Fri, 5 Jul 2019 14:20:33 +0100 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v2 0/1] Fix timer resource leak X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Previous attempts [1] at fixing the resource leak have been deemed unsuccessful because of limitations around what can be done without breaking the ABI. Now that we've broken the EAL ABI, we can fix this issue properly. This patchset is adding a new lock API, as well as fixes the actual issue. The patchset depends on mem config patchset [2]. [1] http://patches.dpdk.org/patch/53334/ [2] http://patches.dpdk.org/project/dpdk/list/?series=5369 Anatoly Burakov (1): timer: fix resource leak in finalize lib/librte_eal/common/eal_common_mcfg.c | 29 +++++++++++++ lib/librte_eal/common/eal_memcfg.h | 8 ++++ .../common/include/rte_eal_memconfig.h | 22 ++++++++++ lib/librte_eal/freebsd/eal/eal.c | 5 ++- lib/librte_eal/linux/eal/eal.c | 5 ++- lib/librte_eal/rte_eal_version.map | 2 + lib/librte_timer/rte_timer.c | 41 +++++++++++++------ lib/librte_timer/rte_timer.h | 5 ++- 8 files changed, 100 insertions(+), 17 deletions(-) -- 2.17.1