From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2017 02:15:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,377,1491289200"; d="scan'208";a="105025781" Received: from dpdk19.sh.intel.com (HELO localhost.localdomain) ([10.239.129.163]) by fmsmga005.fm.intel.com with ESMTP; 22 May 2017 02:15:53 -0700 From: Tiwei Bie To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Mon, 22 May 2017 17:03:47 +0800 Message-Id: <20170522090349.82175-1-tiwei.bie@intel.com> X-Mailer: git-send-email 2.12.1 In-Reply-To: <20170509084707.29949-1-tiwei.bie@intel.com> References: <20170509084707.29949-1-tiwei.bie@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] Various fixes for contigmem 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: , X-List-Received-Date: Mon, 22 May 2017 09:15:56 -0000 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