diff options
author | Kirti Wankhede <[email protected]> | 2020-05-29 02:00:54 +0530 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2020-05-28 15:53:29 -0600 |
commit | 95fc87b44104d9a524ff3e975bbfbd7c1f1a2dd5 (patch) | |
tree | 1420b947b3110167824c06347cabc2ef2dfa19de /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ad721705d09c62f0d108a6b4f59867ebfd592c90 (diff) |
vfio: Selective dirty page tracking if IOMMU backed device pins pages
Added a check such that only singleton IOMMU groups can pin pages.
>From the point when vendor driver pins any pages, consider IOMMU group
dirty page scope to be limited to pinned pages.
To optimize to avoid walking list often, added flag
pinned_page_dirty_scope to indicate if all of the vfio_groups for each
vfio_domain in the domain_list dirty page scope is limited to pinned
pages. This flag is updated on first pinned pages request for that IOMMU
group and on attaching/detaching group.
Signed-off-by: Kirti Wankhede <[email protected]>
Reviewed-by: Neo Jia <[email protected]>
Reviewed-by: Yan Zhao <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions