From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] eal: fix '--huge-unlink' option Date: Fri, 5 Oct 2018 09:13:06 +0100 Message-ID: <2b5aab7e-85cc-eb44-7da8-1bdc7484f298@intel.com> References: <1537530998-109749-1-git-send-email-pawelx.wodkowski@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Pawel Wodkowski , dev@dpdk.org Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 82D2349E0 for ; Fri, 5 Oct 2018 10:13:10 +0200 (CEST) In-Reply-To: <1537530998-109749-1-git-send-email-pawelx.wodkowski@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 -- Thanks, Anatoly