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

David Marchand david.marchand at redhat.com
Thu Jul 22 22:29:45 CEST 2021


On Thu, Jul 8, 2021 at 1:00 PM John Levon <john.levon at nutanix.com> wrote:
>
> 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>

This change in EAL hugetlbfs discovery is too dangerous to be taken after -rc1.

Could you give some usecases/examples on why this change is needed?
Updating the documentation and the unit test also seem necessary.


-- 
David Marchand



More information about the dev mailing list