commit | 310a5ab93cb4ce29367238f682affd9ac352f4d0 | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Sun Jun 28 18:52:20 2009 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jun 29 13:39:17 2009 +0100 |
tree | dc5bb8f208778ebe0aee0054b7af516a36e2b543 | |
parent | c5395d5c4a82159889cb650de93b591ea51d8c56 [diff] |
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 <David.Woodhouse@intel.com>