From: Antonio Di Bacco <a.dibacco.ks@gmail.com>
To: users@dpdk.org
Subject: Launching a new primary process from a primary
Date: Sun, 11 Sep 2022 19:55:35 +0200 [thread overview]
Message-ID: <CAO8pfFmpU_=NP2m7A8PK=2M2T7xkLBH_dtJQsA00h=-pS85YMQ@mail.gmail.com> (raw)
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.
next reply other threads:[~2022-09-11 17:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-11 17:55 Antonio Di Bacco [this message]
2022-09-11 18:20 ` Dmitry Kozlyuk
2022-09-11 19:32 ` Antonio Di Bacco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO8pfFmpU_=NP2m7A8PK=2M2T7xkLBH_dtJQsA00h=-pS85YMQ@mail.gmail.com' \
--to=a.dibacco.ks@gmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).