summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKirti Wankhede <kwankhede@nvidia.com>2020-05-29 02:00:49 +0530
committerAlex Williamson <alex.williamson@redhat.com>2020-05-28 15:53:22 -0600
commitcade075f265b25c3d6c13486e1bf0fbed9935a4a (patch)
tree1507e65767a1842c4d835a9f71315de5800c646b /tools/perf/scripts/python/event_analyzing_sample.py
parent6581708586c812460ea4798216d9dd2897ad105c (diff)
downloadlinux-cade075f265b25c3d6c13486e1bf0fbed9935a4a.tar.bz2
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions