[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:52 CET 2023


On Wed, Jan 4, 2023 at 4:24 AM Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
wrote:

> 2023-01-03 17:00 (UTC-0700), Ashish Sadanandan:
> > 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.
> >
>
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
>

Thanks for reviewing


>
> The second one can be done before the loop.
> Please declare all variables at the beginning of the block per code style.
>

Done


>
> Nit: maybe a single comment for both conditions would be more clear:
>

Done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20230104/1104705d/attachment.htm>


More information about the stable mailing list