Re: [dpdk-dev] [PATCH] eal: fix '--huge-unlink' option

2018-10-11 Thread Thomas Monjalon
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 ther

Re: [dpdk-dev] [PATCH] eal: fix '--huge-unlink' option

2018-10-05 Thread 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 checki

Re: [dpdk-dev] [PATCH] eal: fix '--huge-unlink' option

2018-09-26 Thread Wodkowski, PawelX
Hi Anatoly, Can you take a look at this small fix. Thank you Paweł > -Original Message- > From: Wodkowski, PawelX > Sent: Friday, September 21, 2018 1:57 PM > To: dev@dpdk.org > Cc: Wodkowski, PawelX > Subject: [PATCH] eal: fix '--huge-unlink' option > > The final_va field is set durin

Re: [dpdk-dev] [PATCH] eal: fix '--huge-unlink' option

2018-09-21 Thread Stojaczyk, Dariusz
8 1:57 PM > To: dev@dpdk.org > Cc: Wodkowski, PawelX > Subject: [dpdk-dev] [PATCH] eal: fix '--huge-unlink' option > > 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

[dpdk-dev] [PATCH] eal: fix '--huge-unlink' option

2018-09-21 Thread Pawel Wodkowski
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: 66cc45e2