iommu/vt-d: Use per-cpu IOVA caching
authorOmer Peleg <omer@cs.technion.ac.il>
Wed, 20 Apr 2016 08:34:11 +0000 (11:34 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 20 Apr 2016 19:44:48 +0000 (15:44 -0400)
commit22e2f9fa63b092923873fc8a52955151f4d83274
treef06aca99478f01c1fe85ee19caa5fa92cb86ac10
parent9257b4a206fc0229dd5f84b78e4d1ebf3f91d270
iommu/vt-d: Use per-cpu IOVA caching

Commit 9257b4a2 ('iommu/iova: introduce per-cpu caching to iova allocation')
introduced per-CPU IOVA caches to massively improve scalability. Use them.

Signed-off-by: Omer Peleg <omer@cs.technion.ac.il>
[mad@cs.technion.ac.il: rebased, cleaned up and reworded the commit message]
Signed-off-by: Adam Morrison <mad@cs.technion.ac.il>
Reviewed-by: Shaohua Li <shli@fb.com>
Reviewed-by: Ben Serebrin <serebrin@google.com>
[dwmw2: split out VT-d part into a separate patch]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c