summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2022-07-07 17:30:26 +0200
committerHeiko Carstens <hca@linux.ibm.com>2023-01-09 14:34:07 +0100
commitc5e8083f9580bd7b32ca3967e3d2f99b38cfdaa6 (patch)
treee49e795c0de2cd89e46f5b11949a97ceefe22dab /lib/mpi/mpiutil.c
parent254cb663c2ace586191f9b0676277b89450a76e7 (diff)
vfio/ccw: replace copy_from_iova with vfio_dma_rw
It was suggested [1] that we replace the old copy_from_iova() routine (which pins a page, does a memcpy, and unpins the page) with the newer vfio_dma_rw() interface. This has a modest improvement in the overall time spent through the fsm_io_request() path, and simplifies some of the code to boot. [1] https://lore.kernel.org/r/20220706170553.GK693670@nvidia.com/ Suggested-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions