From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 0/2] Various fixes for contigmem Date: Tue, 04 Jul 2017 01:33:49 +0200 Message-ID: <2250790.69SQLaFO0Q@xps> References: <20170522090349.82175-1-tiwei.bie@intel.com> <20170604055324.40506-1-tiwei.bie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, bruce.richardson@intel.com To: Tiwei Bie 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) In-Reply-To: <20170604055324.40506-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" 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