From: David Woodhouse Date: Mon, 29 Jun 2009 10:17:38 +0000 (+0100) Subject: intel-iommu: Introduce domain_sg_mapping() to speed up intel_map_sg() X-Git-Tag: v2.6.31-rc2~12^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1605495c716ef4eebdb7606bcd1b593f28e2837;p=pandora-kernel.git 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 --- Reading git-diff-tree failed