diff options
author | Robin Murphy <robin.murphy@arm.com> | 2017-03-31 17:46:07 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-04-03 13:45:03 +0300 |
commit | bb65a64c7285e7105c1a6c8a33b37770343a4e96 (patch) | |
tree | 2efc271de7785fa95fa91c6385c6fa56a76ce7be /drivers/iommu/amd_iommu.c | |
parent | a44e6657585b15eeebf5681bfcc7ce0b002429c2 (diff) | |
download | linux-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