From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 9FFE51094 for ; Tue, 4 Jul 2017 01:33:50 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1F69B20968; Mon, 3 Jul 2017 19:33:50 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 03 Jul 2017 19:33:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=ID6ZSDsff7Mm4/y 2LsJGcUAMWrptCOCLntAseCE7hTw=; b=CH2DCuaXR1rhz11mHIN5Mmd3PBgg/hM mTDagfWG0wR6a6QTHUu6OM8L0oPo4CnZ9Ge7mkNxLWBH8HK61PUSmZNZAVt+RoJ0 rdyRMv8p7t5rVEcVZqachRBUEOtijqKNIiV/rHlU4LDEl8WGpI3BuqwQqzgq4+VQ ilNihMlAm96s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=ID6ZSDsff7Mm4/y2LsJGcUAMWrptCOCLntAseCE7hTw=; b=ndLLi3hi hQ/0WV/XzSInvZxIErot67JqU1Cf+oRSS1XRbao/+qn/baQsx1K4mHDLArCpieRd dpKQHbIKViwLZhevGBPZjzxQ73mUi1ydGZtxSLCmbI59WhtHyvwSd9aTQneB6MTs Bm5u6PFvrUJv6388V0mEXtTeGcR8Roy00eslRvshRPqYhi/xyEy4rBZDgt8OPbRH mkVpDUpWFu+PAVYiQ/ndIEWMT2nSN+R2jK8Sw4/7u76zU1a27axbacrzphhlzi9m 1++IpMp/10Ur0xuBiAfAYGvU8JBgPwdQhm58jTLSSacRVNaUGrsTA1SHwgCGFYyf ZPHDHoU1v3+R1w== X-ME-Sender: X-Sasl-enc: D2ImgtQ2CZcXtHUxHCnZte6U9QgI98o66+BWs1+Tb5ND 1499124829 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id CBF0B24726; Mon, 3 Jul 2017 19:33:49 -0400 (EDT) From: Thomas Monjalon To: Tiwei Bie Cc: dev@dpdk.org, bruce.richardson@intel.com Date: Tue, 04 Jul 2017 01:33:49 +0200 Message-ID: <2250790.69SQLaFO0Q@xps> In-Reply-To: <20170604055324.40506-1-tiwei.bie@intel.com> References: <20170522090349.82175-1-tiwei.bie@intel.com> <20170604055324.40506-1-tiwei.bie@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 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, 03 Jul 2017 23:33:50 -0000 04/06/2017 07:53, Tiwei Bie: > The vm_page_replace_checked() was introduced in FreeBSD 11, so the > build is broken on FreeBSD 10. The fix is to use vm_page_replace() > directly and do the check in caller. > > --- > > v2: destroy the initialized mtx before failing or unloading > v3: fix build on FreeBSD 10, refine comments > > Tiwei Bie (2): > contigmem: free the allocated memory when error occurs > contigmem: don't zero the pages during each mmap Applied, thanks