From: Tiwei Bie <tiwei.bie@intel.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: yliu@fridaylinux.org, ferruh.yigit@intel.com, victork@redhat.com,
dev@dpdk.org, stable@dpdk.org, zhihong.wang@intel.com,
qian.q.xu@intel.com, lei.a.yao@intel.com
Subject: Re: [dpdk-stable] [PATCH 2/2] vhost: don't take access_lock on VHOST_USER_RESET_OWNER
Date: Mon, 12 Feb 2018 17:40:07 +0800 [thread overview]
Message-ID: <20180212094007.afnnc6lzeglpwb4a@debian> (raw)
In-Reply-To: <20180209142654.29409-3-maxime.coquelin@redhat.com>
On Fri, Feb 09, 2018 at 03:26:54PM +0100, Maxime Coquelin wrote:
> A deadlock happens when handling VHOST_USER_RESET_OWNER request
> for the same reason the lock is not taken for
> VHOST_USER_GET_VRING_BASE.
>
> It is safe not to take the lock, as the queues are no more used
> by the application when the virtqueues and the device are reset.
>
> Fixes: a3688046995f ("vhost: protect active rings from async ring changes")
> Cc: stable@dpdk.org
>
> Cc: Victor Kaplansky <victork@redhat.com>
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Thanks for the work!
Best regards,
Tiwei Bie
prev parent reply other threads:[~2018-02-12 9:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 14:26 [dpdk-stable] [PATCH 0/2] Vhost & Virtio fixes for -rc4 Maxime Coquelin
2018-02-09 14:26 ` [dpdk-stable] [PATCH 1/2] virtio: fix resuming traffic with rx vector path Maxime Coquelin
2018-02-11 8:02 ` Yao, Lei A
2018-02-12 13:18 ` [dpdk-stable] [dpdk-dev] " Olivier Matz
2018-02-09 14:26 ` [dpdk-stable] [PATCH 2/2] vhost: don't take access_lock on VHOST_USER_RESET_OWNER Maxime Coquelin
2018-02-12 9:40 ` Tiwei Bie [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=20180212094007.afnnc6lzeglpwb4a@debian \
--to=tiwei.bie@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=lei.a.yao@intel.com \
--cc=maxime.coquelin@redhat.com \
--cc=qian.q.xu@intel.com \
--cc=stable@dpdk.org \
--cc=victork@redhat.com \
--cc=yliu@fridaylinux.org \
--cc=zhihong.wang@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).