Skip to content

vfio/type1: Synchronous locked page accounting

Alex Williamson kvm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 2 repliesIn review
  2. v42 patches 11 repliesSuperseded
  3. v31 patch 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch8 repliesSuperseded
v11 patch3 repliesSuperseded

Changes in v5 from the cover letter

- patch 1/ Use bool* to cleanup vfio_lock_acct() callers; sorry we cannot re-test CAP_IPC_LOCK for all callers
- patch 2/ Re-add pr_warn, add Kirti's R-b
- patch 3/ NEW, analyzing impact of vfio_lock_acct() testing CAP_IPC_LOCK for all callers revealed a long hanging optimization

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vfio/type1: Remove locked page accounting workqueuedrivers/vfio/vfio_iommu_type1.c+51 -590 replies
2/3vfio/type1: Prune vfio_pin_page_external()drivers/vfio/vfio_iommu_type1.c+8 -270 replies
3/3vfio/type1: Reduce repetitive calls in vfio_pin_pages_remote()drivers/vfio/vfio_iommu_type1.c+11 -60 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKirti WankhedePeter Xu
SeriesR-b R-b
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] vfio/type1: Synchronous locked page accounting

v5:
- patch 1/ Use bool* to cleanup vfio_lock_acct() callers; sorry we cannot re-test CAP_IPC_LOCK for all callers
- patch 2/ Re-add pr_warn, add Kirti's R-b
- patch 3/ NEW, analyzing impact of vfio_lock_acct() testing CAP_IPC_LOCK for all callers revealed a long hanging optimization

Thanks for the reviews, keep 'em coming,
Alex

---

Alex Williamson (3):
vfio/type1: Remove locked page accounting workqueue vfio/type1: Prune vfio_pin_page_external() vfio/type1: Reduce repetitive calls in vfio_pin_pages_remote()

 drivers/vfio/vfio_iommu_type1.c |  150 +++++++++++++++++----------------------
 1 file changed, 64 insertions(+), 86 deletions(-)