From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 284FEC35247 for ; Thu, 6 Feb 2020 21:07:18 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 3F1D9214AF for ; Thu, 6 Feb 2020 21:07:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="qNWObFLL"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="J1RX/Zfz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F1D9214AF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E2251C1CC; Thu, 6 Feb 2020 22:07:16 +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-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" 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