eal: extend --huge-unlink for hugepage file reuse
authorDmitry Kozlyuk <dkozlyuk@nvidia.com>
Thu, 3 Feb 2022 18:13:36 +0000 (20:13 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 8 Feb 2022 20:32:53 +0000 (21:32 +0100)
commit0dff3f26d6faad4e51f75e5245f0387ee9bb0c6d
tree55194fb6f36fc337b43fcc83d6c2dd2e1a96b784
parent32b4771cd8ef377c039d895d034b3b5e86ee34d2
eal: extend --huge-unlink for hugepage file reuse

Expose Linux EAL ability to reuse existing hugepage files
via --huge-unlink=never switch.
Default behavior is unchanged, it can also be specified
using --huge-unlink=existing for consistency.
Old --huge-unlink switch is kept,
it is an alias for --huge-unlink=always.
Add a test case for the --huge-unlink=never mode.

Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
app/test/test_eal_flags.c
doc/guides/linux_gsg/linux_eal_parameters.rst
doc/guides/prog_guide/env_abstraction_layer.rst
doc/guides/rel_notes/release_22_03.rst
lib/eal/common/eal_common_options.c