All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Harry van Haaren <harry.van.haaren@intel.com>
Cc: dev@dpdk.org, "S . V . Naga Harish" <s.v.naga.harish.k@intel.com>
Subject: Re: [PATCH] service: debug and fix lingering might_be_active() result
Date: Tue, 05 Jul 2022 16:27:42 +0200	[thread overview]
Message-ID: <3586411.1SvkZsmPdQ@thomas> (raw)
In-Reply-To: <20220705133207.2853345-1-harry.van.haaren@intel.com>

05/07/2022 15:32, Harry van Haaren:
> This commit fixes an issue where calling rte_service_lcore_stop()
> would result in a service's "active on lcore" status becoming stale.
> 
> The stale status would result in rte_service_may_be_active() always
> returning "1", indiciating that the service is not certainly stopped.
> 
> This is fixed by ensuring the "active on lcore" status of each service
> is set to 0 when an lcore is stopped.
> 
> Fixes: e30dd31847d2 ("service: add mechanism for quiescing")
> Fixes: 8929de043eb4 ("service: retrieve lcore active state")
> 
> Reported-by: S. V. Naga Harish <s.v.naga.harish.k@intel.com>
> Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>

Applied, thanks.




      reply	other threads:[~2022-07-05 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-05 13:32 [PATCH] service: debug and fix lingering might_be_active() result Harry van Haaren
2022-07-05 14:27 ` Thomas Monjalon [this message]

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=3586411.1SvkZsmPdQ@thomas \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=harry.van.haaren@intel.com \
    --cc=s.v.naga.harish.k@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.