Re: [dpdk-dev] [PATCH v5 1/3] eal/linux: make hugetlbfs analysis reusable

2021-10-08 Thread Dmitry Kozlyuk
Hello John, > Any progress on these? Since now my original patch ("eal: allow hugetlbfs > sub-directories") is going to have to wait behind this series, since nobody > responded to review of the last version. Your patch does not directly depend on this one and can be merged earlier. Maybe my prev

Re: [dpdk-dev] [PATCH v5 1/3] eal/linux: make hugetlbfs analysis reusable

2021-10-08 Thread John Levon
On Tue, Oct 05, 2021 at 07:36:21PM +0200, Thomas Monjalon wrote: > 21/09/2021 10:16, dkozl...@oss.nvidia.com: > > From: Dmitry Kozlyuk > > > > get_hugepage_dir() searched for a hugetlbfs mount with a given page size > > using handcraft parsing of /proc/mounts and mixing traversal logic with > >

Re: [dpdk-dev] [PATCH v5 1/3] eal/linux: make hugetlbfs analysis reusable

2021-10-05 Thread Thomas Monjalon
21/09/2021 10:16, dkozl...@oss.nvidia.com: > From: Dmitry Kozlyuk > > get_hugepage_dir() searched for a hugetlbfs mount with a given page size > using handcraft parsing of /proc/mounts and mixing traversal logic with > selecting the needed entry. Separate code to enumerate hugetlbfs mounts > to e

Re: [dpdk-dev] [PATCH v5 1/3] eal/linux: make hugetlbfs analysis reusable

2021-09-22 Thread John Levon
On Tue, Sep 21, 2021 at 11:16:30AM +0300, dkozl...@nvidia.com wrote: > From: Dmitry Kozlyuk > > get_hugepage_dir() searched for a hugetlbfs mount with a given page size > using handcraft parsing of /proc/mounts and mixing traversal logic with > selecting the needed entry. Separate code to enumer

[dpdk-dev] [PATCH v5 1/3] eal/linux: make hugetlbfs analysis reusable

2021-09-21 Thread dkozlyuk
From: Dmitry Kozlyuk get_hugepage_dir() searched for a hugetlbfs mount with a given page size using handcraft parsing of /proc/mounts and mixing traversal logic with selecting the needed entry. Separate code to enumerate hugetlbfs mounts to eal_hugepage_mount_walk() taking a callback that can ins