[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200117011050.GC1759@joy-OptiPlex-7040>
Date: Thu, 16 Jan 2020 20:10:51 -0500
From: Yan Zhao <yan.y.zhao@...el.com>
To: Alex Williamson <alex.williamson@...hat.com>
Cc: "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH 0/3] vfio/type1: Reduce vfio_iommu.lock contention
Thank you, Alex!
I'll try it and let you know the result soon. :)
On Fri, Jan 17, 2020 at 02:17:49AM +0800, Alex Williamson wrote:
> Hi Yan,
>
> I wonder if this might reduce the lock contention you're seeing in the
> vfio_dma_rw series. These are only compile tested on my end, so I hope
> they're not too broken to test. Thanks,
>
> Alex
>
> ---
>
> Alex Williamson (3):
> vfio/type1: Convert vfio_iommu.lock from mutex to rwsem
> vfio/type1: Replace obvious read lock instances
> vfio/type1: Introduce pfn_list mutex
>
>
> drivers/vfio/vfio_iommu_type1.c | 67 ++++++++++++++++++++++++---------------
> 1 file changed, 41 insertions(+), 26 deletions(-)
>
Powered by blists - more mailing lists