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 571CE2BAE for ; Thu, 20 Apr 2017 09:41:13 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 05DF1207F5; Thu, 20 Apr 2017 03:41:13 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 20 Apr 2017 03:41:13 -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=oE2vdwJe0LZkgo0 eK6VLCRuD2J4NKEmRabjwz4GM5zM=; b=JgPtLBdH7o4KM7fV5ONbc8xjtfbCx9u 0+JkFST6GAtAMFnGWFlSpg8SmTmI/QrGCLww8n719aav8mXIR/wfwcZZ3bTyzHjs O3rEmuO4B7yvfz0Zx05wXwyt/2I7UpoEi4KmH/k3PahXDqwgF/I5Iml7RMFzPBm6 JWZGi4qaAjPw= 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=oE2vdwJe0LZkgo0eK6VLCRuD2J4NKEmRabjwz4GM5zM=; b=Ea/UnnJ/ sZeoul/lpEOD+oKlmECpyV4MeY9gz4iG+QF/3xrddGX/+2XBjxlBCDzc5ds1MvUG hNUYjZah61zRxRigsFvpSDeeJJq1bfrv8px6bp+s6AYEl6L+HdeetHEnlxmJaTfP n7aT7uP/g82xtUhNYoIJelyaXjds4rzo3VfEFE6wWPcZsgkxjoFNqPQlbhZuBm4D mfcMeNUdVUddudorSZ9GDeB5SXhLT3HxWd6p5gvnCC6Lcq/fu8MtF1G/GqTq8OVF iN9asA+4I5WzhYDlxxSLbyHq560VSQJwxXbUHz52putIH4MZZPAIDYtA1d4NUKB/ V4pUIF12tbdzOw== X-ME-Sender: X-Sasl-enc: DzHpyiCl14Z4CTIApdMvBVgs2WsnFfsBh5PjmHkMN5l8 1492674072 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C23D67E88D; Thu, 20 Apr 2017 03:41:12 -0400 (EDT) From: Thomas Monjalon To: Chao Zhu Cc: dev@dpdk.org, Sergio Gonzalez Monroy , Gowrishankar , david.marchand@6wind.com Date: Thu, 20 Apr 2017 09:41:11 +0200 Message-ID: <19672119.oCBDKYTT9N@xps> In-Reply-To: References: <1491473170-25160-1-git-send-email-chaozhu@linux.vnet.ibm.com> <1491473170-25160-2-git-send-email-chaozhu@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/2] eal/ppc: fix mmap for memory initialization 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: Thu, 20 Apr 2017 07:41:13 -0000 13/04/2017 10:14, Sergio Gonzalez Monroy: > On 06/04/2017 11:06, Chao Zhu wrote: > > On IBM POWER platform, when mapping /dev/zero file to hugepage memory > > space, mmap will not respect the requested address hint. This will cause > > the memory initilization for the second process fails. This patch adds > > the required mmap flags to make it work. Beside this, users need to set > > the nr_overcommit_hugepages to expand the VA range. When > > doing the initilization, users need to set both nr_hugepages and > > nr_overcommit_hugepages to the same value, like 64, 128, etc. > > > > Signed-off-by: Chao Zhu > > Acked-by: Sergio Gonzalez Monroy Series fixed, squashed and applied, thanks