Thread (48 messages) 48 messages, 8 authors, 2021-11-08

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

From: John Levon <hidden>
Date: 2021-10-08 15:33:47

On Tue, Oct 05, 2021 at 07:36:21PM +0200, Thomas Monjalon wrote:
21/09/2021 10:16, dkozlyuk@oss.nvidia.com:
quoted
From: Dmitry Kozlyuk <redacted>

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 inspect already
parsed entries. Use mntent(3) API for parsing. This allows to reuse
enumeration logic in subsequent patches.

Signed-off-by: Dmitry Kozlyuk <redacted>
Reviewed-by: Viacheslav Ovsiienko <redacted>
First version was sent in July.
Anatoly, please are you available to review?
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.

Is it usual in DPDK to have to wait months?

thanks
john
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help