From: David Woodhouse Date: Sun, 28 Jun 2009 17:52:20 +0000 (+0100) Subject: intel-iommu: Performance improvement for dma_pte_clear_range() X-Git-Tag: v2.6.31-rc2~12^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=310a5ab93cb4ce29367238f682affd9ac352f4d0;p=pandora-kernel.git 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: David Woodhouse --- Reading git-diff-tree failed