commit | e1605495c716ef4eebdb7606bcd1b593f28e2837 | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Mon Jun 29 11:17:38 2009 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Tue Jun 30 03:51:30 2009 +0100 |
tree | de1144b9697f94dda08b3a9434fa97e0dbaab93f | |
parent | 875764de6f0ddb23d270c29357d5a339232a0488 [diff] |
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: David Woodhouse <David.Woodhouse@intel.com>