Messages in this thread | | | Date | Tue, 4 Jun 2019 22:50:21 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH v3 1/4] iommu: Add gfp parameter to iommu_ops::map |
| |
On Mon, May 06, 2019 at 07:52:03PM +0100, Tom Murphy via iommu wrote: > We can remove the mutex lock from amd_iommu_map and amd_iommu_unmap. > iommu_map doesn’t lock while mapping and so no two calls should touch > the same iova range. The AMD driver already handles the page table page > allocations without locks so we can safely remove the locks.
Btw, this really should be a separate patch.
| |