RE: [PATCH v10 4/9] test: avoid overflowing huge directory path

Marat Khalili
2026-01-02T14:27:23Z

> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Monday 29 December 2025 21:59
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>
> Subject: [PATCH v10 4/9] test: avoid overflowing huge directory path
>
> Modify the part of the test that is scanning for hugepages
> mount point to use existing getmntent library calls.
>
> As a result, the maximum mount path is smaller which is ok
> since this is all handled by the standard library.
> And the resulting huge path arguments don't overflow.
>
> Hugepages aren't used on Window or FreeBSD so this is
> skipped there.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Marat Khalili <marat.khalili@huawei.com>