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 6E6AAA0542 for ; Thu, 6 Feb 2020 22:07:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52A781C1E9; Thu, 6 Feb 2020 22:07:17 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id 503E21C1C5; Thu, 6 Feb 2020 22:07:15 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id EB2FE4C1; Thu, 6 Feb 2020 16:07:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 06 Feb 2020 16:07:14 -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=z1UxQtuWOJc5m7Do/ogIqbfDAVP1uIG1gXJ63CQ9f7w=; b=qNWObFLL7l6r sciVswazLNAALBTlPwdGB6u3YWzAw3PNGED4boVW8ZOOq83NEtRN6VIU69XKgiwi dag1n9SqloVBJmKz0z8ETwZxN6JfurXbAt0XNgSTv/tFdekez+msMOBRcw+PWH6l maeYJVDeNB8ej6dYGVtYNdi72ZVUvcY= 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=z1UxQtuWOJc5m7Do/ogIqbfDAVP1uIG1gXJ63CQ9f 7w=; b=J1RX/ZfztNvhT9sE7C9wKQQxRsv1m6goG+C12E9QZZIdO27eyemA16z43 38G4VTQ60N8BEQY5SnKpN9CgYsfR21jhpFFcyscrV4CuXiRFAfHDOmmODjhiZ9qj 5mIOptTy/3rJnGY72EsXOKmgPoupgu57E0ckqnCmK5PdorpVliLGn0RUbeDQ8Ymh wvWG/MXswhCxwBJ+h9iky+SYAy7OnWUbLrWBm5GIANiN2yF6eG1BttgFkA9KpOQA SZa1pYk3pjNNUaAomJo2X5UHqTrM13kcyi+bs+uWy55T6mMEXg3qhDZfTLYmaVeb CaHcK3MfEr7YaPegwOHomUJmRPdPA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrheefgddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 36C3C3060B21; Thu, 6 Feb 2020 16:07:12 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, stable@dpdk.org, david.marchand@redhat.com Date: Thu, 06 Feb 2020 22:07:10 +0100 Message-ID: <1702814.BzM5BlMlMQ@xps> In-Reply-To: <3220926.qSoW2BAyJ8@xps> References: <99d72c1b91e3fce36713b529ab47e8aa3fd78454.1579885526.git.anatoly.burakov@intel.com> <3220926.qSoW2BAyJ8@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] 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" 06/02/2020 16:39, Thomas Monjalon: > 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 Eventually dropped from DPDK 20.02-rc2 because it is breaking no-huge mode. Sorry