iommu/amd: Make dma_ops_domain->next_index percpu
authorJoerg Roedel <jroedel@suse.de>
Tue, 22 Dec 2015 12:34:22 +0000 (13:34 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 28 Dec 2015 16:18:54 +0000 (17:18 +0100)
commit5f6bed50050625f1b76fa2c0dfd0ce887cb0420a
treec3a6e5c56c59462b5b88ccd06f758e7555ab3d44
parent92d420ec028d24f18ce194149bd0a0a7c42029a3
iommu/amd: Make dma_ops_domain->next_index percpu

Make this pointer percpu so that we start searching for new
addresses in the range we last stopped and which is has a
higher probability of being still in the cache.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c