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 384EDA053B; Thu, 6 Feb 2020 16:39:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D7E7B1C19B; Thu, 6 Feb 2020 16:39:51 +0100 (CET) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 627C41C025; Thu, 6 Feb 2020 16:39:50 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 68C41463; Thu, 6 Feb 2020 10:39:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 06 Feb 2020 10:39:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=kEG5pOo7TdbHJEViJcvnfLSiHMNE2dfN9z5Pfi+y78s=; b=H9DUD/8TzwTH 3MXd9Q0e62ayYtnAAPIMlFqEICAKB6gEWi4d+Vr36B/FbCAeBtXiKd/C3+wnaQjg WtbKYA37XRhy//m/dZAbuOHnF7Rxh7CPe+JZFPSBNmF7fYpHIrtfo+zlKeZZkpom CXyg+5d16pf182V37rAYaky3dDSqyVw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=kEG5pOo7TdbHJEViJcvnfLSiHMNE2dfN9z5Pfi+y7 8s=; b=nhd3J2jB8EPsD8o8q3wViSws8pEWF2RJRctiaZtEcmoZ6qLQWywY9vRCl bX9iPQ1hQ/g13BgBw4OYntOVAiDYTRURrXvOO17Jr2vYvxFeiEZkxVy1qbeHJFu+ YGBYP0orHsUcJrCQKhagQGEBU6PMdFu9Y2RKxuzobyGFGyLxcdgDTWC99+pwrVfn 4BLVuV6NVkBosH2Y7AZ7Hem9nUIGXqnbvwsA7sdCrVyMvP8cRPZcNuDCpB5t51xE SW/Y6juEO/eNArEipFHehC6RuSjfY8O+ebyu6rtheLkXBIHqtDZpJ7klFcyGlWap ms1cW5SIyLlUnUnBJY14y2m5T9bOg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrheefgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 24062328005E; Thu, 6 Feb 2020 10:39:48 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, stable@dpdk.org Date: Thu, 06 Feb 2020 16:39:47 +0100 Message-ID: <3220926.qSoW2BAyJ8@xps> In-Reply-To: <99d72c1b91e3fce36713b529ab47e8aa3fd78454.1579885526.git.anatoly.burakov@intel.com> References: <99d72c1b91e3fce36713b529ab47e8aa3fd78454.1579885526.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal/mem: preallocate VA space in no-huge mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 24/01/2020 18:05, Anatoly Burakov: > 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 Applied, thanks