diff options
author | Tina Zhang <tina.zhang@intel.com> | 2022-06-05 19:11:52 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 11:09:27 +0300 |
commit | 7e62edd7a33accf02cb7abdc1bbe381d975b9b5a (patch) | |
tree | b7d33cec96f4a6b79b35b9c2876713dc6275842a /drivers/virtio/virtio_ring.c | |
parent | a111daf0c53ae91e71fd2bfe7497862d14132e3e (diff) | |
download | linux-7e62edd7a33accf02cb7abdc1bbe381d975b9b5a.tar.xz |
iommu/virtio: Add map/unmap_pages() callbacks implementation
Map/unmap_pags() allows map and unmap multiple pages of the same size
in one call, which can improve performance by reducing the numbers of
vmexits. With map/unmap_pages() implemented, the prior map/unmap()
callbacks are deprecated.
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20220605161152.3171-1-tina.zhang@intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/virtio/virtio_ring.c')
0 files changed, 0 insertions, 0 deletions