diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2019-08-29 18:52:50 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-08-30 09:40:14 +1000 |
commit | 650ab1e370cdb61ba5c7495006f4376e02374da0 (patch) | |
tree | 99f4db55e278275d846cf9bff710114248ee9b81 /virt | |
parent | 01b7d128b5a7f0d09626c090093ff44155f347c9 (diff) |
vfio/spapr_tce: Invalidate multiple TCEs at once
Invalidating a TCE cache entry for each updated TCE is quite expensive.
This makes use of the new iommu_table_ops::xchg_no_kill()/tce_kill()
callbacks to bring down the time spent in mapping a huge guest DMA window.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190829085252.72370-4-aik@ozlabs.ru
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions