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

Thomas Monjalon thomas at monjalon.net
Sun Nov 18 14:41:07 CET 2018


16/11/2018 18:35, David Wilder:
> 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>

Applied, thanks

Note: Cc stable at dpdk.org does not make sense in this context.
Backporting this patch to 17.11 would be a mistake,
and 17.08 is probably not in Power9 scope.





More information about the dev mailing list