summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2017-03-31 17:46:07 +0300
committerJoerg Roedel <jroedel@suse.de>2017-04-03 13:45:03 +0300
commitbb65a64c7285e7105c1a6c8a33b37770343a4e96 (patch)
tree2efc271de7785fa95fa91c6385c6fa56a76ce7be /drivers/iommu/amd_iommu.c
parenta44e6657585b15eeebf5681bfcc7ce0b002429c2 (diff)
downloadlinux-bb65a64c7285e7105c1a6c8a33b37770343a4e96.tar.xz
iommu/dma: Plumb in the per-CPU IOVA caches
With IOVA allocation suitably tidied up, we are finally free to opt in to the per-CPU caching mechanism. The caching alone can provide a modest improvement over walking the rbtree for weedier systems (iperf3 shows ~10% more ethernet throughput on an ARM Juno r1 constrained to a single 650MHz Cortex-A53), but the real gain will be in sidestepping the rbtree lock contention which larger ARM-based systems with lots of parallel I/O are starting to feel the pain of. Reviewed-by: Nate Watterson <nwatters@codeaurora.org> Tested-by: Nate Watterson <nwatters@codeaurora.org> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
0 files changed, 0 insertions, 0 deletions