summaryrefslogtreecommitdiff
path: root/drivers/pci/iova.c
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2011-05-28 22:15:03 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-06-01 15:47:36 +0400
commitcb452a4040bb051d92e85d6e7eb60c11734c1781 (patch)
treeef19298ec70274c9c199fa74a4f08e77cc69080b /drivers/pci/iova.c
parent8fcc5372fbac085199d84a880503ed67aba3fe49 (diff)
downloadlinux-cb452a4040bb051d92e85d6e7eb60c11734c1781.tar.xz
intel-iommu: Speed up processing of the identity_mapping function
When there are a large count of PCI devices, and the pass through option for iommu is set, much time is spent in the identity_mapping function hunting though the iommu domains to check if a specific device is "identity mapped". Speed up the function by checking the cached info to see if it's mapped to the static identity domain. Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Mike Habeck <habeck@sgi.com> Cc: stable@kernel.org Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/pci/iova.c')
0 files changed, 0 insertions, 0 deletions