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

Marat Khalili marat.khalili at huawei.com
Fri Jan 2 15:27:18 CET 2026


> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Monday 29 December 2025 21:59
> To: dev at dpdk.org
> Cc: Stephen Hemminger <stephen at 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 at networkplumber.org>

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


More information about the dev mailing list