On Sat, Oct 25, 2014 at 09:55:16AM -0700, Olav Haugan wrote:
> drivers/iommu/amd_iommu.c | 1 +
> drivers/iommu/arm-smmu.c | 1 +
> drivers/iommu/exynos-iommu.c | 1 +
> drivers/iommu/intel-iommu.c| 1 +
> drivers/iommu/iommu.c | 25 +
> driver
Mapping and unmapping are more often than not in the critical path.
map_sg allows IOMMU driver implementations to optimize the process
of mapping buffers into the IOMMU page tables.
Instead of mapping a buffer one page at a time and requiring potentially
expensive TLB operations for each page, thi