17/01/2022 09:07, Dmitry Kozlyuk:
> In preparation to extend --huge-unlink option semantics
> refactor how it is stored in the internal configuration.
> It makes future changes more isolated.
> 
> Signed-off-by: Dmitry Kozlyuk <dkozl...@nvidia.com>
> ---
> +/** Hugepage backing files discipline. */
> +struct hugepage_file_discipline {
> +     /** Unlink files before mapping them to leave no trace in hugetlbfs. */
> +     bool unlink_before_mapping;
> +};
[...]
> -     unsigned hugepage_unlink;         /**< true to unlink backing files */
> +     struct hugepage_file_discipline hugepage_file;

That's clearer, thanks.

Acked-by: Thomas Monjalon <tho...@monjalon.net>


Reply via email to