lkml.org 
[lkml]   [2020]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[RFC PATCH 0/3] vfio/type1: Reduce vfio_iommu.lock contention
From
Date
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(-)

\
 
 \ /
  Last update: 2020-01-16 19:18    [W:0.027 / U:11.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site