Re: [PATCH v3] iommu/iova: put free_iova_mem() outside of spinlock iova_rbtree_lock

19 Apr
2021
19 Apr
'21
3:35 p.m.
On 19/04/2021 08:13, chenxiang wrote:
From: Xiang Chen<chenxiang66@hisilicon.com>
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<chenxiang66@hisilicon.com>
I think that you will need to resend after v5.13-rc1 comes out, however: Reviewed-by: John Garry <john.garry@huawei.com>
--- drivers/iommu/
1472
Age (days ago)
1472
Last active (days ago)
0 comments
1 participants
participants (1)
-
John Garry