diff options
| author | Xiang Chen <[email protected]> | 2021-05-10 19:53:02 +0800 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2021-06-08 14:15:46 +0200 |
| commit | 7978724f399ae7eba5b6d36ae5a7224d5bf3859a (patch) | |
| tree | 359a98708b354f3266e9e5f27df1ded1abd67549 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 571f316074a203e979ea90211d9acf423dfe5f46 (diff) | |
iommu/iova: Put free_iova_mem() outside of spinlock iova_rbtree_lock
It is not necessary to put free_iova_mem() inside of spinlock/unlock
iova_rbtree_lock which only leads to more completion for the spinlock.
It has a small promote on the performance after the change. And also
rename private_free_iova() as remove_iova() because the function will not
free iova after that change.
Signed-off-by: Xiang Chen <[email protected]>
Reviewed-by: John Garry <[email protected]>
Acked-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions