Hi Paul,

On 15/09/2020 09:29, Paul Durrant wrote:
From: Paul Durrant <pdurr...@amazon.com>

This patch avoids calling iommu_iotlb_flush() for each individual GNTTABOP and
instead calls iommu_iotlb_flush_all() at the end of a batch. This should mean
non-singleton map/unmap operations perform better.

NOTE: A batch is the number of operations done before a pre-emption check and,
       in the case of unmap, a TLB flush.

Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Paul Durrant <pdurr...@amazon.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>

Acked-by: Julien Grall <jgr...@amazon.com>

Cheers,

--
Julien Grall

Reply via email to