lkml.org 
[lkml]   [2019]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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.

    \
     
     \ /
      Last update: 2019-06-05 07:51    [W:4.704 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site