aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-06-28 14:36:58 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-01 19:09:07 -0700
commit17dd1367389cfe7f150790c83247b68e0c19d106 (patch)
tree86a01960d5d6cece79f216448fac551e6affa9f5 /tools/perf/scripts/python/export-to-postgresql.py
parentvsock/virtio: use RCU to avoid use-after-free on the_virtio_vsock (diff)
downloadwireguard-linux-17dd1367389cfe7f150790c83247b68e0c19d106.tar.xz
wireguard-linux-17dd1367389cfe7f150790c83247b68e0c19d106.zip
vsock/virtio: stop workers during the .remove()
Before to call vdev->config->reset(vdev) we need to be sure that no one is accessing the device, for this reason, we add new variables in the struct virtio_vsock to stop the workers during the .remove(). This patch also add few comments before vdev->config->reset(vdev) and vdev->config->del_vqs(vdev). Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Suggested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions