From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix '--huge-unlink' option Date: Thu, 11 Oct 2018 11:40:26 +0200 Message-ID: <2096117.0V9xW38d9W@xps> References: <1537530998-109749-1-git-send-email-pawelx.wodkowski@intel.com> <2b5aab7e-85cc-eb44-7da8-1bdc7484f298@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Burakov, Anatoly" To: Pawel Wodkowski 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) In-Reply-To: <2b5aab7e-85cc-eb44-7da8-1bdc7484f298@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" 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