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 5417B2BF7 for ; Sun, 18 Nov 2018 17:21:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E97DC21C86; Sun, 18 Nov 2018 11:21:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 18 Nov 2018 11:21:16 -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=SFwq9nEsCDeg sYMvzLRXnPJR3NJ8mzrec557ymzSa0d0UeZO9E2QRylchGaunhDzOuixdJ8dTGgb hmRMjL5ALwo9T3UGRJKE4wWiwIaCEn6KJhuuLgrjxxovys9ntCOHZPhpLIsa4bOF OSqzVNsCx9rZfpGWAEiO35HeYxSahn0= 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=YmPikDpbiC8Scan0kFs2MrDP8Po9qaT4Ffa68mMFzDYl/386FaSPMnYnG 0Vlmm+4cCRhSSOj2Ahj8tZG7T4grpkbifTiOWxPXrUX874zK4wbTtt+eCTO0lcGy b4w030oVOuY9dBfo80hf0F0PuJlM2uHzS28ytPdT21pn4G/pmSfcatIsqHzrLDV/ LFk/qaAkSeEDPXhbRbtFlILGbcrin/4p15+vJ5G+3NahOl1KELZneK3GFiUY4Dds sx1QzcAN6hJEVHVL/bDqknnFVlAfMvOCChRmJ4VHCACmxKdTJiepiRihrF3zMtay Szp0rEqZ7tT0Sl5motXKoayvyeZIw== 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 0C5B1E4078; Sun, 18 Nov 2018 11:21:15 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, yuwei1.zhang@intel.com Date: Sun, 18 Nov 2018 17:21:15 +0100 Message-ID: <2055442.uj1xbPjuRI@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 16:21:17 -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