From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] mem: Fix anonymous mapping on Power9. Date: Thu, 15 Nov 2018 10:49:10 +0000 Message-ID: <9db4f22f-fdce-dad4-f0fd-cf33aa0863a4@intel.com> References: <20181114204051.9580-1-dwilder@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org, pradeep@us.ibm.com, chaozhu@linux.vnet.ibm.com To: David Wilder , dev@dpdk.org Return-path: In-Reply-To: <20181114204051.9580-1-dwilder@us.ibm.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Reviewed-by: Pradeep Satyanarayana > --- Can't test it (obviously), but LGTM Acked-by: Anatoly Burakov -- Thanks, Anatoly