qemu-devel
[Top][All Lists]
Advanced

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

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


From: Kirti Wankhede
Subject: Re: [PATCH v16 Kernel 2/7] vfio iommu: Remove atomicity of ref_count of pinned pages
Date: Fri, 27 Mar 2020 03:15:41 +0530
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0



On 3/26/2020 4:19 PM, Cornelia Huck wrote:
On Wed, 25 Mar 2020 01:02:34 +0530
Kirti Wankhede <address@hidden> 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 <address@hidden>
Reviewed-by: Neo Jia <address@hidden>
Reviewed-by: Eric Auger <address@hidden>
---
  drivers/vfio/vfio_iommu_type1.c | 9 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)


Reviewed-by: Cornelia Huck <address@hidden>


Thanks,
Kirti



reply via email to

[Prev in Thread] Current Thread [Next in Thread]