diff options
author | 2018-05-18 11:40:33 -0600 | |
---|---|---|
committer | 2018-06-08 10:24:30 -0600 | |
commit | 6a62c1dfb5c7f6719361180fd0fdf45b15a35d95 (patch) | |
tree | 0425a82038562ef3a4f2b59995e18cdf00fb971d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vfio/mdev: Check globally for duplicate devices (diff) | |
download | linux-dev-6a62c1dfb5c7f6719361180fd0fdf45b15a35d95.tar.xz linux-dev-6a62c1dfb5c7f6719361180fd0fdf45b15a35d95.zip |
vfio/mdev: Re-order sysfs attribute creation
There exists a gap at the end of mdev_device_create() where the device
is visible to userspace, but we're not yet ready to handle removal, as
triggered through the 'remove' attribute. We handle this properly in
mdev_device_remove() with an -EAGAIN return, but we can marginally
reduce this gap by adding this attribute as a final step of our sysfs
setup.
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions