From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tiwei Bie Subject: [PATCH v2 0/2] Various fixes for contigmem Date: Mon, 22 May 2017 17:03:47 +0800 Message-ID: <20170522090349.82175-1-tiwei.bie@intel.com> References: <20170509084707.29949-1-tiwei.bie@intel.com> Cc: bruce.richardson@intel.com To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 30FC028EE for ; Mon, 22 May 2017 11:15:56 +0200 (CEST) In-Reply-To: <20170509084707.29949-1-tiwei.bie@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Sorry, I just noticed that I forgot to destroy the initialized mtx before failing or unloading. V2 is to fix this issue. --- v2: destroy the initialized mtx before failing or unloading Tiwei Bie (2): contigmem: free the allocated memory when error occurs contigmem: don't zero the pages during each mmap lib/librte_eal/bsdapp/contigmem/contigmem.c | 194 ++++++++++++++++++++++++---- 1 file changed, 168 insertions(+), 26 deletions(-) -- 2.12.1