DPDK usage discussions
 help / color / mirror / Atom feed
* Launching a new primary process from a primary
@ 2022-09-11 17:55 Antonio Di Bacco
  2022-09-11 18:20 ` Dmitry Kozlyuk
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio Di Bacco @ 2022-09-11 17:55 UTC (permalink / raw)
  To: users

I know, because I was told by Anatoly Burakov (DPDK developer), that
it is possible to launch a new primary from within a primary using
system() syscall or fork but a few FDs should be closed. Do you know
of a DPDK example that exemplifies such a procedure?

If you don't follow the exact procedure you can generate a deadlock.
This is what I've been told:

There is a way to launch a primary process from another primary in our
test app - if you check the code, it closes a bunch of fd's before
launching the process - that's most likely what you need to do as that
would be what causes the deadlocks (concurrent access from multiple
processes who think they're primaries).

Do you know where can I find the "test app".


Thx.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-11 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-11 17:55 Launching a new primary process from a primary Antonio Di Bacco
2022-09-11 18:20 ` Dmitry Kozlyuk
2022-09-11 19:32   ` Antonio Di Bacco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).