Re: [PATCH v16 Kernel 2/7] vfio iommu: Remove atomicity of ref_count of pinned pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 3/26/2020 4:19 PM, Cornelia Huck wrote:
On Wed, 25 Mar 2020 01:02:34 +0530
Kirti Wankhede <kwankhede@xxxxxxxxxx> wrote:

vfio_pfn.ref_count is always updated by holding iommu->lock, using atomic

s/by/while/


Ok.

variable is overkill.

Signed-off-by: Kirti Wankhede <kwankhede@xxxxxxxxxx>
Reviewed-by: Neo Jia <cjia@xxxxxxxxxx>
Reviewed-by: Eric Auger <eric.auger@xxxxxxxxxx>
---
  drivers/vfio/vfio_iommu_type1.c | 9 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)


Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>


Thanks,
Kirti



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux