diff options
author | Omer Peleg <[email protected]> | 2016-04-20 11:33:57 +0300 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2016-04-20 15:07:22 -0400 |
commit | 2aac630429d986a43ac59525a4cff47a624dc58e (patch) | |
tree | b007758a4aa3cf32fc5388037d3594ac169915ef /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0824c5920b16fe11034f3b5d2d48456d282d83f9 (diff) |
iommu/vt-d: change intel-iommu to use IOVA frame numbers
Make intel-iommu map/unmap/invalidate work with IOVA pfns instead of
pointers to "struct iova". This avoids using the iova struct from the IOVA
red-black tree and the resulting explicit find_iova() on unmap.
This patch will allow us to cache IOVAs in the next patch, in order to
avoid rbtree operations for the majority of map/unmap operations.
Note: In eliminating the find_iova() operation, we have also eliminated
the sanity check previously done in the unmap flow. Arguably, this was
overhead that is better avoided in production code, but it could be
brought back as a debug option for driver development.
Signed-off-by: Omer Peleg <[email protected]>
[[email protected]: rebased, fixed to not break iova api, and reworded
the commit message]
Signed-off-by: Adam Morrison <[email protected]>
Reviewed-by: Shaohua Li <[email protected]>
Reviewed-by: Ben Serebrin <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions