Re: [PATCH v2] eal/linux: fix fbarray name with multiple secondary processes

2024-11-15 Thread Stephen Hemminger
On Fri, 15 Nov 2024 15:50:08 +0800 Congjie Zhou wrote: > diff --git a/lib/eal/linux/eal_memalloc.c b/lib/eal/linux/eal_memalloc.c > index e354efc..367d401 100644 > --- a/lib/eal/linux/eal_memalloc.c > +++ b/lib/eal/linux/eal_memalloc.c > @@ -16,6 +16,7 @@ > #include > #include > #include >

Re: [PATCH v2] eal/linux: fix fbarray name with multiple secondary processes

2024-11-15 Thread Stephen Hemminger
On Fri, 15 Nov 2024 15:50:08 +0800 Congjie Zhou wrote: > add the tsc into the name. > > Suggested-by: Stephen Hemminger > Signed-off-by: Congjie Zhou > --- > > When multiple secondary processes run in different containers, names > identified by PIDs are not unique due to the pid namespace. >

[PATCH v2] eal/linux: fix fbarray name with multiple secondary processes

2024-11-14 Thread Congjie Zhou
add the tsc into the name. Suggested-by: Stephen Hemminger Signed-off-by: Congjie Zhou --- When multiple secondary processes run in different containers, names identified by PIDs are not unique due to the pid namespace. So Add tsc to redefine a unique name. v1: use monotonic time to redefine