[dpdk-dev] [PATCH 1/2] eal/ppc: fix mmap for memory initialization

Thomas Monjalon thomas at monjalon.net
Thu Apr 20 09:41:11 CEST 2017


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 <chaozhu at linux.vnet.ibm.com>
> 
> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>

Series fixed, squashed and applied, thanks


More information about the dev mailing list