intel-iommu: Performance improvement for domain_pfn_mapping()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 28 Jun 2009 19:38:49 +0000 (20:38 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 29 Jun 2009 12:39:45 +0000 (13:39 +0100)
commit6f6a00e40aa3fdd3b29c30e3ef1fc9690506bc03
treeba1f28669888141c99c38cfb8d6b2b6034874e25
parent310a5ab93cb4ce29367238f682affd9ac352f4d0
intel-iommu: Performance improvement for domain_pfn_mapping()

As with dma_pte_clear_range(), don't keep flushing a single PTE at a
time. And also micro-optimise the setting of PTE values rather than
using the helper functions to do all the masking.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c