iommu/amd: Optimize iova queue flushing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | iommu/amd: Rip out old queue flushing codedrivers/ | +6 | 0 replies | |
| 2/7 | iommu/amd: Add per-domain flush-queue data structuresdrivers/ | +69 | 0 replies | |
| 3/7 | iommu/amd: Make use of the per-domain flush queuedrivers/ | +56 | 0 replies | |
| 4/7 | iommu/amd: Add locking to per-domain flush-queuedrivers/ | +11 | 0 replies | |
| 5/7 | iommu/amd: Add flush counters to struct dma_ops_domaindrivers/ | +52 | 0 replies | |
| 6/7 | iommu/amd: Add per-domain timer to flush per-cpu queuesdrivers/ | +67 | 0 replies | |
| 7/7 | iommu/amd: Remove queue_release() functiondrivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] iommu/amd: Optimize iova queue flushing
Hi,
here is a patch-set to optimize the queue flushing in the AMD IOMMU driver. It removes the global per-cpu flush queues and implements queue-rings which are per-domain and per-cpu.
This allows some good optimizations to lower the flush-rate of a domain and also lowers the contention on the queue locks.
Regards,
Joerg
Joerg Roedel (7):
iommu/amd: Rip out old queue flushing code iommu/amd: Add per-domain flush-queue data structures iommu/amd: Make use of the per-domain flush queue iommu/amd: Add locking to per-domain flush-queue iommu/amd: Add flush counters to struct dma_ops_domain iommu/amd: Add per-domain timer to flush per-cpu queues iommu/amd: Remove queue_release() function
drivers/iommu/amd_iommu.c | 363 +++++++++++++++++++++++++++++----------------- 1 file changed, 227 insertions(+), 136 deletions(-)
Signature · 1 line
2.7.4