diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2020-05-28 23:30:49 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-05-29 00:53:22 +0300 |
commit | cade075f265b25c3d6c13486e1bf0fbed9935a4a (patch) | |
tree | 1507e65767a1842c4d835a9f71315de5800c646b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6581708586c812460ea4798216d9dd2897ad105c (diff) | |
download | linux-cade075f265b25c3d6c13486e1bf0fbed9935a4a.tar.xz |
vfio iommu: Cache pgsize_bitmap in struct vfio_iommu
Calculate and cache pgsize_bitmap when iommu->domain_list is updated
and iommu->external_domain is set for mdev device.
Add iommu->lock protection when cached pgsize_bitmap is accessed.
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Neo Jia <cjia@nvidia.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions