From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 743E3A057C for ; Thu, 26 Mar 2020 18:07:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 75A621C028; Thu, 26 Mar 2020 18:07:00 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 3200E1C06D; Thu, 26 Mar 2020 18:06:56 +0100 (CET) IronPort-SDR: NY71O8wLsKl98gVa55vMbpbjGf0DD2vjeqNsUUJ3ERX23jqgPxHm4CYfdamWn5bJNAi/wHMLQw gc/t/JOmYGXw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2020 10:06:56 -0700 IronPort-SDR: 4xo1E8ZWP2JhpMGEf+ngARjNxCEXJArpruv8w2PZ+xxR/P2uQnBekVQI1zJlOeTPQFH3FSxrAq UR/DrWNKEdzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,309,1580803200"; d="scan'208";a="447083975" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.214.213.185]) ([10.214.213.185]) by fmsmga005.fm.intel.com with ESMTP; 26 Mar 2020 10:06:54 -0700 To: David Marchand Cc: dev , dpdk stable References: <99d72c1b91e3fce36713b529ab47e8aa3fd78454.1579885526.git.anatoly.burakov@intel.com> <5ebcce5b7df8fa0620b3d0fd6bf67a0668b942ac.1581073866.git.anatoly.burakov@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Thu, 26 Mar 2020 17:06:53 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v3] eal/mem: preallocate VA space in no-huge mode X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 25-Mar-20 2:39 PM, David Marchand wrote: > On Fri, Feb 7, 2020 at 12:11 PM Anatoly Burakov > wrote: >> >> When --no-huge mode is used, the memory is currently allocated with >> mmap(NULL, ...). This is fine in most cases, but can fail in cases >> where DPDK is run on a machine with an IOMMU that is of more limited >> address width than that of a VA, because we're not specifying the >> address hint for mmap() call. >> >> Fix it by preallocating VA space before mapping it. >> >> Cc: stable@dpdk.org >> >> Signed-off-by: Anatoly Burakov > > Reproduced issue reported by Thomas on v2. > Works fine with v3. > > Tested-by: David Marchand > > > Does this issue affect FreeBSD too? > I don't think we have support for IOMMU on FreeBSD so my guess is no :) -- Thanks, Anatoly