summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPawel Wodkowski <pawelx.wodkowski@intel.com>2018-09-21 13:56:38 +0200
committerThomas Monjalon <thomas@monjalon.net>2018-10-11 12:19:58 +0200
commit8e1fdcaa3d76bd531d03897c9dfef0f6dc76c7c8 (patch)
treee9c973d7c4b970208155c6efbf758e8d9f1506b6 /kernel
parent66498f0ffea95022bce63ae9eef9fcf807f39500 (diff)
downloaddpdk-8e1fdcaa3d76bd531d03897c9dfef0f6dc76c7c8.zip
dpdk-8e1fdcaa3d76bd531d03897c9dfef0f6dc76c7c8.tar.gz
dpdk-8e1fdcaa3d76bd531d03897c9dfef0f6dc76c7c8.tar.xz
mem: 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 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") Cc: stable@dpdk.org Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions