DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: "Van Haaren, Harry" <harry.van.haaren@intel.com>,
	"Laatz, Kevin" <kevin.laatz@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	 "l.wojciechow@partner.samsung.com"
	<l.wojciechow@partner.samsung.com>,
	 "Honnappa.Nagarahalli@arm.com" <Honnappa.Nagarahalli@arm.com>,
	"phil.yang@arm.com" <phil.yang@arm.com>,
	 "aconole@redhat.com" <aconole@redhat.com>
Subject: Re: [dpdk-dev] [PATCH] test/service: fix race condition on stopping lcore
Date: Fri, 16 Oct 2020 13:54:58 +0200	[thread overview]
Message-ID: <CAJFAV8yrxixcDwN5V3FM8EFMJ6aaD9Ykwhb27YdphMoJhC49AQ@mail.gmail.com> (raw)
In-Reply-To: <BYAPR11MB3143667D88050BCCF0121EDED7030@BYAPR11MB3143.namprd11.prod.outlook.com>

On Fri, Oct 16, 2020 at 11:18 AM Van Haaren, Harry
<harry.van.haaren@intel.com> wrote:
> > Subject: [PATCH] test/service: fix race condition on stopping lcore
> >
> > There is a potential race condition in 'service_attr_get' which will cause
> > test failures since the service core thread is still running while the
> > values are being retrieved/reset.
> >
> > This patch fixes the race condition by waiting for the service core thread
> > to stop before continuing with the unit test checks.

Fixes: 4d55194d76a4 ("service: add attribute get function")

> > Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>

Thanks Kevin, Harry, applied.


-- 
David Marchand


  reply	other threads:[~2020-10-16 11:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16  9:08 Kevin Laatz
2020-10-16  9:18 ` Van Haaren, Harry
2020-10-16 11:54   ` David Marchand [this message]
2020-10-16 11:50 ` David Marchand
2020-10-16 11:51   ` Van Haaren, Harry

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=CAJFAV8yrxixcDwN5V3FM8EFMJ6aaD9Ykwhb27YdphMoJhC49AQ@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=aconole@redhat.com \
    --cc=dev@dpdk.org \
    --cc=harry.van.haaren@intel.com \
    --cc=kevin.laatz@intel.com \
    --cc=l.wojciechow@partner.samsung.com \
    --cc=phil.yang@arm.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 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).