On Thu, Jul 8, 2021 at 1:00 PM John Levon <john.le...@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.le...@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