From patchwork Tue Jun 25 16:11:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Burakov, Anatoly" X-Patchwork-Id: 55370 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A5C41BA65; Tue, 25 Jun 2019 18:11:47 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 29F3B1B9FD for ; Tue, 25 Jun 2019 18:11:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2019 09:11:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,416,1557212400"; d="scan'208";a="245120804" Received: from silpixa00399498.ir.intel.com (HELO silpixa00399498.ger.corp.intel.com) ([10.237.223.125]) by orsmga001.jf.intel.com with ESMTP; 25 Jun 2019 09:11:42 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: erik.g.carrillo@intel.com Date: Tue, 25 Jun 2019 17:11:40 +0100 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: <1557354906-2500-1-git-send-email-erik.g.carrillo@intel.com> References: <1557354906-2500-1-git-send-email-erik.g.carrillo@intel.com> Subject: [dpdk-dev] [PATCH 0/2] 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 dependson the FreeBSD fixes [2], as well as the mem config patchset [3]. [1] http://patches.dpdk.org/patch/53334/ [2] http://patches.dpdk.org/project/dpdk/list/?series=5161 [3] http://patches.dpdk.org/project/dpdk/list/?series=5162 Anatoly Burakov (2): eal: add internal locks for timer lib into EAL timer: fix resource leak in finalize lib/librte_eal/common/eal_common_mcfg.c | 14 +++++++ lib/librte_eal/common/eal_memcfg.h | 2 + .../common/include/rte_eal_memconfig.h | 18 ++++++++ lib/librte_eal/rte_eal_version.map | 2 + lib/librte_timer/rte_timer.c | 41 +++++++++++++------ lib/librte_timer/rte_timer.h | 5 ++- 6 files changed, 67 insertions(+), 15 deletions(-)