[dpdk-dev] [PATCH v3] eal: allow hugetlbfs sub-directories

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Fri Jul 16 00:37:23 CEST 2021


2021-07-08 11:59 (UTC+0100), John Levon:
> get_hugepage_dir() was implemented in such a way that a --huge-dir
> option had to exactly match the mountpoint, but there's no reason for
> this restriction. Fix the implementation to allow a sub-directory within
> a suitable hugetlbfs mountpoint to be specified, preferring the closest
> match.
> 
> Signed-off-by: John Levon <john.levon at nutanix.com>

Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>


More information about the dev mailing list