linux_dsm_epyc7002/drivers/vfio
Yan Zhao 40280cf7e8 vfio: avoid inefficient operations on VFIO group in vfio_pin/unpin_pages
vfio_group_pin_pages() and vfio_group_unpin_pages() are introduced to
avoid inefficient search/check/ref/deref opertions associated with VFIO
group as those in each calling into vfio_pin_pages() and
vfio_unpin_pages().

VFIO group is taken as arg directly. The callers combine
search/check/ref/deref operations associated with VFIO group by calling
vfio_group_get_external_user()/vfio_group_get_external_user_from_dev()
beforehand, and vfio_group_put_external_user() afterwards.

Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2020-03-24 09:27:57 -06:00
..
mdev vfio/mdev: make create attribute static 2020-01-09 11:30:57 -07:00
pci VFIO updates for v5.6-rc1 2020-02-03 22:22:05 +00:00
platform VFIO updates for v5.6-rc1 2020-02-03 22:22:05 +00:00
Kconfig
Makefile
vfio_iommu_spapr_tce.c vfio/spapr_tce: use mmgrab 2020-01-07 13:03:12 -07:00
vfio_iommu_type1.c vfio: introduce vfio_dma_rw to read/write a range of IOVAs 2020-03-24 09:27:57 -06:00
vfio_spapr_eeh.c
vfio.c vfio: avoid inefficient operations on VFIO group in vfio_pin/unpin_pages 2020-03-24 09:27:57 -06:00
virqfd.c