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

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

intel-iommu: Introduce domain_sg_mapping() to speed up intel_map_sg()



Instead of calling domain_pfn_mapping() repeatedly with single or
small numbers of pages, just pass the sglist in. It can optimise the
number of cache flushes like domain_pfn_mapping() does, and gives a huge
speedup for large scatterlists.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 875764de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment