[PATCH v2 1/1] eal/linux: reject --huge-dir not parent of mountpt

Ashish Sadanandan ashish.sadanandan at gmail.com
Wed Jan 4 19:17:58 CET 2023


On Wed, Jan 4, 2023 at 9:22 AM John Levon <john.levon at nutanix.com> wrote:

> On Tue, Jan 03, 2023 at 05:00:30PM -0700, Ashish Sadanandan wrote:
>
> > The code added for allowing --huge-dir to specify hugetlbfs
> > sub-directories has a bug where it incorrectly matches mounts that
> > contain a prefix of the specified --huge-dir.
>
> Sorry for the trouble & thanks for the fix.
>

Thanks for reviewing


>
> Shouldn't this comment say "Ignore any mount that is not a parent path of
> hugepage_dir" ?
>

Doh, typed the opposite of what I wanted to say :) Fixed.


>
> regards
> john
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20230104/2e8cca15/attachment.htm>


More information about the stable mailing list