[dpdk-dev] [PATCH v3] mem: Fix anonymous mapping on Power9.

Thomas Monjalon thomas at monjalon.net
Wed Feb 20 17:27:47 CET 2019


20/02/2019 17:04, Burakov, Anatoly:
> On 16-Nov-18 5:35 PM, David Wilder wrote:
> > Removed the use of MAP_HUGETLB for anonymous mapping on ppc64.  The
> > MAP_HUGETLB had previously been added to workaround issues on IBM Power8
> > systems when mapping /dev/zero (see: commit
> > 284ae3e9ff9a92575c28c858efd2c85c8de6d440).  In the current code the
> > MAP_HUGETLB flag will cause the anonymous mapping to fail on Power9.
> > Note, Power8 is currently failing to correctly mmap Hugepages, with and
> > without this change.
> > 
> > Signed-off-by: David Wilder <dwilder at us.ibm.com>
> > Reviewed-by: Pradeep Satyanarayana <pradeep at us.ibm.com>
> > ---
> 
> The changes are contained entirely to POWER9 code paths/docs, so while i 
> cannot verify them working for obvious reasons, i have no objections to 
> this patch.
> 
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

It was applied a long time ago :)




More information about the dev mailing list