DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/DTS Bug 1404] Ensure primary applications such as testpmd are properly cleaned up
@ 2024-03-19 18:47 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-03-19 18:47 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1404

            Bug ID: 1404
           Summary: Ensure primary applications such as testpmd are
                    properly cleaned up
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: DTS
          Assignee: dev@dpdk.org
          Reporter: jspewock@iol.unh.edu
                CC: juraj.linkes@pantheon.tech, probb@iol.unh.edu
  Target Milestone: ---

Right now we are relying on the garbage collector to clean up interactive
shells after they fall out of scope, and this is fine for applications like a
python shell where it doesn't really matter if we run multiple at once.
However, some applications (such as primary applications in DPDK) cannot run if
there is an instance of another specific application running. Because of this,
we need to be able to guarantee that these critical applications close at
certain times but the python garbage collector makes no guarantees for when it
cleans up these objects. 

One of the ways to make this more explicit which is being looked into right now
is a context manager. A context manager will help guarantee that when the
application is needed in its context block, it will be running, but as soon as
we exit the block (whether through exceptions being raised, reaching the end of
the block, or anything that would take the code out of that scope) the
application is properly cleaned up. This allows many more guarantees for when
these critical applications are running and exactly when they close.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 3712 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-19 18:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-19 18:47 [DPDK/DTS Bug 1404] Ensure primary applications such as testpmd are properly cleaned up bugzilla

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).