On Wed, 25 Mar 2020 01:02:34 +0530 Kirti Wankhede <kwankh...@nvidia.com> wrote:
> vfio_pfn.ref_count is always updated by holding iommu->lock, using atomic s/by/while/ > variable is overkill. > > Signed-off-by: Kirti Wankhede <kwankh...@nvidia.com> > Reviewed-by: Neo Jia <c...@nvidia.com> > Reviewed-by: Eric Auger <eric.au...@redhat.com> > --- > drivers/vfio/vfio_iommu_type1.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > Reviewed-by: Cornelia Huck <coh...@redhat.com>