From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 44CD91B114 for ; Thu, 11 Oct 2018 11:40:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C541621AE8; Thu, 11 Oct 2018 05:40:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 11 Oct 2018 05:40:28 -0400 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=kd0B+jMvlUfjLABoA90fVYi9/lqTK0GPaG/OXXWN1Ac=; b=FAw+Ze0Ca74o OpD0D0qmIvXQS81cwvQWWOw2f7aohNtimNJypgF2/6oZrBeHwOwa9AZVO0sClthn W73Eagcs4QkvI91wgY5Z2DTyykCMu86EbVLBcKsWWZUVY3mhud1sbuFV94qNKCMZ AYwoAX/bJNN0YuaW8pf7evwf7fMnHDM= 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=kd0B+jMvlUfjLABoA90fVYi9/lqTK0GPaG/OXXWN1 Ac=; b=ta6NE5cP0/GX5LDZOzp0+ksRLdavedwlzLl5J4FBGpQ4c6svWL+ArUZgc UofyaIBTPJq7R7OFnaIiHqpazSlS5DWvCpA4RkHzYGnX60MH5J8dO9rHH/iTyg1/ X4qdd2EdqFOwj/rqqx1z7g1ejxRLEJ8DsMCtOt4tlb+1Di8ttX4RARACnchKy1L6 iIANQLm8yUWzKrlm5dgh4V3msnKPdZBclyzbphNLNjzB2SjtCFfzt551xC17vZWm nQiZxok0PlHnKrq7OAU5ipmCvACW70vTfXJdXKDB6PCBkZUDL+7vdXt21t7UdKKY PIBJsX0uPYjO34m97tKEBAjouuuOw== 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 D4699E4532; Thu, 11 Oct 2018 05:40:27 -0400 (EDT) From: Thomas Monjalon To: Pawel Wodkowski Cc: dev@dpdk.org, "Burakov, Anatoly" Date: Thu, 11 Oct 2018 11:40:26 +0200 Message-ID: <2096117.0V9xW38d9W@xps> In-Reply-To: <2b5aab7e-85cc-eb44-7da8-1bdc7484f298@intel.com> References: <1537530998-109749-1-git-send-email-pawelx.wodkowski@intel.com> <2b5aab7e-85cc-eb44-7da8-1bdc7484f298@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: fix '--huge-unlink' option 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: Thu, 11 Oct 2018 09:40:29 -0000 05/10/2018 10:13, Burakov, Anatoly: > On 21-Sep-18 12:56 PM, Pawel Wodkowski wrote: > > The final_va field is set during remap_segment() but this information is > > not propagated to temporal copy of huge page memory configuration so the > > unlink_hugepage_files() function wrongly assume that there is nothing to > > unlink. Fix this issue by checking orig_va instead of final_va. > > > > Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") > > To: Anatoly Burakov > > > > Signed-off-by: Pawel Wodkowski > > Acked-by: Anatoly Burakov Applied, thanks