numam-dpdk/drivers/net/virtio
Tiwei Bie 7ff269575b net/virtio-user: fix deadlock in memory events callback
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: 12ecb2f63b ("net/virtio-user: support memory hotplug")
Cc: stable@dpdk.org

Reported-by: Seán Harte <seanbh@gmail.com>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Tested-by: Seán Harte <seanbh@gmail.com>
Reviewed-by: Seán Harte <seanbh@gmail.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2018-09-28 01:41:01 +02:00
..
virtio_user net/virtio-user: fix deadlock in memory events callback 2018-09-28 01:41:01 +02:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build net/virtio: add to meson build 2018-03-12 16:29:27 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
virtio_ethdev.h net/virtio: remove unused offloads macro 2018-08-02 04:41:55 +02:00
virtio_logs.h net/virtio: implement dynamic logging 2018-01-16 18:47:49 +01:00
virtio_pci.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_pci.h net/virtio: improve offload check performance 2018-07-04 17:03:48 +02:00
virtio_ring.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
virtio_rxtx_simple_neon.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio_rxtx_simple.c net/virtio: remove simple Tx path 2018-07-04 17:03:48 +02:00
virtio_rxtx_simple.h net/virtio: remove simple Tx path 2018-07-04 17:03:48 +02:00
virtio_rxtx.c net/virtio: remove unnecessary Rx error assignments 2018-08-02 04:41:51 +02:00
virtio_rxtx.h net/virtio: fix resuming port with Rx vector path 2018-02-13 18:57:59 +01:00
virtio_user_ethdev.c net/virtio-user: fix parameters string 2018-08-02 04:41:58 +02:00
virtqueue.c net/virtio: free in-order descriptors before device start 2018-07-03 01:35:58 +02:00
virtqueue.h net/virtio: free in-order descriptors before device start 2018-07-03 01:35:58 +02:00