From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] memalloc: check for contiguousness in external segments Date: Sun, 18 Nov 2018 17:21:15 +0100 Message-ID: <2055442.uj1xbPjuRI@xps> References: <8533ab3a49f63e9700764ead8b9147a098911b41.1542204687.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, yuwei1.zhang@intel.com To: Anatoly Burakov Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 5417B2BF7 for ; Sun, 18 Nov 2018 17:21:17 +0100 (CET) In-Reply-To: <8533ab3a49f63e9700764ead8b9147a098911b41.1542204687.git.anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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