diff options
author | 2013-04-29 08:41:36 -0600 | |
---|---|---|
committer | 2013-04-29 08:41:36 -0600 | |
commit | 0b43c082338b857c27d2f87c886eb78812ccd236 (patch) | |
tree | 4692c09a3ba9b7efb9eff3000f17d8bdbde00630 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vfio: Convert container->group_lock to rwsem (diff) | |
download | linux-dev-0b43c082338b857c27d2f87c886eb78812ccd236.tar.xz linux-dev-0b43c082338b857c27d2f87c886eb78812ccd236.zip |
vfio: Use down_reads to protect iommu disconnects
If a group or device is released or a container is unset from a group
it can race against file ops on the container. Protect these with
down_reads to allow concurrent users.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions