mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
d71a989cf5
In order to improve performance of typical scenarios we can try to insert the entire vma on fault. This accelerates typical cases, such as when the MMIO region is DMA mapped by QEMU. The vfio_iommu_type1 driver will fault in the entire DMA mapped range through fixup_user_fault(). In synthetic testing, this improves the time required to walk a PCI BAR mapping from userspace by roughly 1/3rd. This is likely an interim solution until vmf_insert_pfn_{pmd,pud}() gain support for pfnmaps. Suggested-by: Yan Zhao <yan.y.zhao@intel.com> Link: https://lore.kernel.org/all/Zl6XdUkt%2FzMMGOLF@yzhao56-desk.sh.intel.com/ Reviewed-by: Yan Zhao <yan.y.zhao@intel.com> Link: https://lore.kernel.org/r/20240607035213.2054226-1-alex.williamson@redhat.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com> |
||
---|---|---|
.. | ||
hisilicon | ||
mlx5 | ||
nvgrace-gpu | ||
pds | ||
qat | ||
virtio | ||
Kconfig | ||
Makefile | ||
trace.h | ||
vfio_pci_config.c | ||
vfio_pci_core.c | ||
vfio_pci_igd.c | ||
vfio_pci_intrs.c | ||
vfio_pci_priv.h | ||
vfio_pci_rdwr.c | ||
vfio_pci_zdev.c | ||
vfio_pci.c |