Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 310a5ab9 authored by David Woodhouse's avatar David Woodhouse
Browse files

intel-iommu: Performance improvement for dma_pte_clear_range()



It's a bit silly to repeatedly call domain_flush_cache() for each PTE
individually, as we clear it. Instead, batch them up and flush a whole
range at a time. We might as well refrain from recalculating the PTE
address from scratch each time round the loop too.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent c5395d5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment