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

2018-11-16 Thread dwilder
On 2018-11-15 07:11, Burakov, Anatoly wrote: On 14-Nov-18 8:40 PM, David Wilder wrote: Please include this patch in 18.11 as well, this patch is not suitable for 17.11. Small note: while this patch is not suitable for 17.11 as is, it can be made suitable if you drop the memalloc part. I copied

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

2018-11-15 Thread Thomas Monjalon
Hi, 14/11/2018 21:40, 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 >

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

2018-11-15 Thread Burakov, Anatoly
On 14-Nov-18 8:40 PM, David Wilder wrote: Please include this patch in 18.11 as well, this patch is not suitable for 17.11. Small note: while this patch is not suitable for 17.11 as is, it can be made suitable if you drop the memalloc part. I copied this flag from old memory allocation code,

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

2018-11-15 Thread Burakov, Anatoly
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 MA

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

2018-11-14 Thread 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 mapp