DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: dev <dev@dpdk.org>, "Xia, Chenbo" <chenbo.xia@intel.com>,
	Xuan Ding <xuan.ding@intel.com>,  Jiayu Hu <jiayu.hu@intel.com>,
	Cheng Jiang <cheng1.jiang@intel.com>,
	 Sunil Pai G <sunil.pai.g@intel.com>
Subject: Re: [PATCH v2] vhost: add runtime locking check in unsafe APIs
Date: Wed, 11 May 2022 09:35:25 +0200	[thread overview]
Message-ID: <CAJFAV8zSfcPQwBA1=6B76CgWcp0jkZ_U5i2OGxac52+Ary9arQ@mail.gmail.com> (raw)
In-Reply-To: <20220511065837.1267895-1-maxime.coquelin@redhat.com>

On Wed, May 11, 2022 at 8:58 AM Maxime Coquelin
<maxime.coquelin@redhat.com> wrote:
>
> This patch adds runtime checks in unsafe Vhost async APIs,
> to ensure the access lock is taken.
>
> The detection won't work every time, as another thread
> could take the lock, but it would help to detect misuse
> of these unsafe API.
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Reviewed-by: David Marchand <david.marchand@redhat.com>


-- 
David Marchand


  reply	other threads:[~2022-05-11  7:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11  6:58 Maxime Coquelin
2022-05-11  7:35 ` David Marchand [this message]
2022-05-11  7:49   ` Hu, Jiayu
2022-05-11 13:58 ` Xia, Chenbo
2022-05-17 13:23 ` Maxime Coquelin

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='CAJFAV8zSfcPQwBA1=6B76CgWcp0jkZ_U5i2OGxac52+Ary9arQ@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=chenbo.xia@intel.com \
    --cc=cheng1.jiang@intel.com \
    --cc=dev@dpdk.org \
    --cc=jiayu.hu@intel.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=sunil.pai.g@intel.com \
    --cc=xuan.ding@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 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).