[dpdk-stable] [PATCH 1/3] net/virtio-user: fix deadlock in memory events callback
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Sep 11 14:52:27 CEST 2018
On 09/05/2018 06:28 AM, Tiwei Bie wrote:
> Deadlock can occur when allocating memory if a vhost-kernel
> based virtio-user device is in use. To fix the deadlock,
> we will take memory hotplug lock explicitly in virtio-user
> when necessary, and always call the _thread_unsafe memory
> functions.
>
> Bugzilla ID: 81
> Fixes: 12ecb2f63b12 ("net/virtio-user: support memory hotplug")
> Cc: stable at dpdk.org
>
> Reported-by: Seán Harte <seanbh at gmail.com>
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
> drivers/net/virtio/virtio_user/vhost_kernel.c | 6 +++++-
> .../net/virtio/virtio_user/virtio_user_dev.c | 19 +++++++++++++++++++
> 2 files changed, 24 insertions(+), 1 deletion(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the stable
mailing list