DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: oulijun <oulijun@huawei.com>
Cc: Thomas Monjalon <thomas@monjalon.net>,
	Ferruh Yigit <ferruh.yigit@intel.com>, dev <dev@dpdk.org>,
	linuxarm@openeuler.org
Subject: Re: [dpdk-dev]  【Some Questions About Multi-Process Resource Cleaning】
Date: Thu, 4 Feb 2021 12:29:05 +0000	[thread overview]
Message-ID: <20210204122905.GD1712@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <0aacfa1e-2191-c196-ac73-fad99c016aec@huawei.com>

On Thu, Feb 04, 2021 at 07:47:01PM +0800, oulijun wrote:
> 
> 
> 在 2021/2/4 17:25, Thomas Monjalon 写道:
> > Hi,
> > 
> > Sorry your questions are quite confused.
> > Please start explaining what is the problem you are trying to solve.
> Start the master and slave processes at the same time, and then run the kill
> -9 command to kill the slave processes.
> The slave process should call rte_eal_cleanup to release resources. But I
> find that there is no release from the process,
> and I think there is a resource leak.

"kill -9" is an immediate forcible kill of a process and no cleanup will
ever be done in that case. It's equivalent to the process crashing, so
would be considered an abnormal termination.

Regads,
/Bruce

  reply	other threads:[~2021-02-04 12:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04  6:56 oulijun
2021-02-04  9:25 ` Thomas Monjalon
2021-02-04 11:47   ` oulijun
2021-02-04 12:29     ` Bruce Richardson [this message]
2021-02-04 12:30     ` Thomas Monjalon
2021-02-10 15:59     ` Burakov, Anatoly
2021-03-08  8:56       ` oulijun

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=20210204122905.GD1712@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=linuxarm@openeuler.org \
    --cc=oulijun@huawei.com \
    --cc=thomas@monjalon.net \
    /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).