Re: [PATCH v3 1/4] iommu: Add gfp parameter to iommu_ops::map

From: Christoph Hellwig
Date: Wed Jun 05 2019 - 01:54:30 EST

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.