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

Christoph Hellwig hch at infradead.org
Tue Jun 4 22:50:21 PDT 2019


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.



More information about the Linux-mediatek mailing list