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

Burakov, Anatoly anatoly.burakov at intel.com
Thu Nov 15 11:49:10 CET 2018


On 14-Nov-18 8:40 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>
> ---

Can't test it (obviously), but LGTM

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the stable mailing list