summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2024-06-27 12:01:05 +0100
committerJason Gunthorpe <jgg@nvidia.com>2024-06-28 13:12:23 -0300
commit53e6b65693b68519dcfd384280bfc3d34c7398e2 (patch)
tree224d26f54ca7d49aaddd343c5b467d5f2b6dafa7 /include/uapi
parent7a7bba16244a5c55861d8fefea72cdbb8b05323e (diff)
downloadlwn-53e6b65693b68519dcfd384280bfc3d34c7398e2.tar.gz
lwn-53e6b65693b68519dcfd384280bfc3d34c7398e2.zip
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions