From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id BAC6B1F28 for ; Sun, 18 Nov 2018 14:05:15 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2BE8221D1E; Sun, 18 Nov 2018 08:05:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 18 Nov 2018 08:05:15 -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=voZtTZZ22f9Bhyc/vjRi+Wjzpsjkm5NoUHt46DTYbkQ=; b=s90swWR8r/Mu i1Rh4A/A/HO9R5isJVXInXqyMcDt8IiE6dlAx89lwgtiPRaLn8Wi/dvj5uFKiOK0 chRQWPAHs2Fb8CulNDDYYJdH15/NS/O8izf83cAnd+J0Hw4ZloTuQ1W7kCSc4t/F /FICUamV3K5UNixaHfxLcbbmZkxKa48= 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=fm1; bh=voZtTZZ22f9Bhyc/vjRi+Wjzpsjkm5NoUHt46DTYb kQ=; b=WYpEBf1Nu9mKuaXEGPJjQchKPLHokPMADPtczm9WaBBavj0QzMw2Q2Uxu 2Jczqk8pmRuWrXf4/BGPNDK8HLL1Ucy6VoOx/X+JCFUSjphhqdCFqJz2IVjYN9dC Xj9U7TeTz5mJ3WqGwmwtAOoUqJAg8JbBJ4FLSrsLQXtlzkgqnYKUhvC4iAE7bS7+ syzrloStFqWcNX64dqJt0xiMVu27JK6539rAXW8Dm+kDf7QgjJbOmU4+Y4dAStEl yRy6QcSdUuHyYVfbXfASPUCp/cdKjH4jSfoLL064yOtfD76C6d3CYEl/xAowU+QM JEr9RrrMG63JRiS2qMJ+rgAekUwaA== X-ME-Sender: 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 CC939E4078; Sun, 18 Nov 2018 08:05:13 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, yuwei1.zhang@intel.com Date: Sun, 18 Nov 2018 14:05:10 +0100 Message-ID: <3362104.qelPFcrZT8@xps> In-Reply-To: <8533ab3a49f63e9700764ead8b9147a098911b41.1542204687.git.anatoly.burakov@intel.com> References: <8533ab3a49f63e9700764ead8b9147a098911b41.1542204687.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] memalloc: check for contiguousness in external segments 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: , X-List-Received-Date: Sun, 18 Nov 2018 13:05:16 -0000 14/11/2018 15:51, Anatoly Burakov: > For IOVA as VA mode, we assume that memory is contiguous. However, > for external segments that assumption may not necessarily hold. > Fix the code to not assume that external memory segments are > contiguous even in IOVA as VA mode. > > Fixes: 5282bb1c3695 ("mem: allow memseg lists to be marked as external") > > Signed-off-by: Anatoly Burakov Applied, thanks