diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2024-06-27 14:01:05 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-06-28 19:12:23 +0300 |
commit | 53e6b65693b68519dcfd384280bfc3d34c7398e2 (patch) | |
tree | 224d26f54ca7d49aaddd343c5b467d5f2b6dafa7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7a7bba16244a5c55861d8fefea72cdbb8b05323e (diff) | |
download | linux-53e6b65693b68519dcfd384280bfc3d34c7398e2.tar.xz |
iommufd/iova_bitmap: Remove iterator logic
The newly introduced dynamic pinning/windowing greatly simplifies the code
and there's no obvious performance advantage that has been identified that
justifies maintinaing both schemes.
Remove the iterator logic and have iova_bitmap_for_each() just invoke the
callback with the total iova/length.
Fixes: 2780025e01e2 ("iommufd/iova_bitmap: Handle recording beyond the mapped pages")
Link: https://lore.kernel.org/r/20240627110105.62325-12-joao.m.martins@oracle.com
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Matt Ochs <mochs@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions