From: David Marchand <david.marchand@redhat.com>
To: Kevin Laatz <kevin.laatz@intel.com>,
Van Haaren Harry <harry.van.haaren@intel.com>
Cc: dev <dev@dpdk.org>,
Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>,
Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>,
Phil Yang <phil.yang@arm.com>, Aaron Conole <aconole@redhat.com>
Subject: Re: [dpdk-dev] [PATCH] test/service: fix race condition on stopping lcore
Date: Fri, 16 Oct 2020 13:50:18 +0200 [thread overview]
Message-ID: <CAJFAV8ypWjn9nUOAQeF8CGaDDRSzFYP9+Keb-bm3dQECe+CrGw@mail.gmail.com> (raw)
In-Reply-To: <20201016090804.1242907-1-kevin.laatz@intel.com>
On Fri, Oct 16, 2020 at 11:13 AM Kevin Laatz <kevin.laatz@intel.com> wrote:
>
> 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.
We won't backport it, since we need a new API, but I would flag it for info as:
Fixes: 4d55194d76a4 ("service: add attribute get function")
Ok for you?
--
David Marchand
next prev parent reply other threads:[~2020-10-16 11:50 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
2020-10-16 11:50 ` David Marchand [this message]
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=CAJFAV8ypWjn9nUOAQeF8CGaDDRSzFYP9+Keb-bm3dQECe+CrGw@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).