iommu: reduce spinlock contention on fast path
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 2/23 patches 12 repliesIn review
- v3 posting 1/23 patches 2 repliesSuperseded
- v23 patches 16 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 3 replies | Superseded |
Patches in v3 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iommu: avoid unnecessary magazine allocationsdrivers/ | +28 | 4 replies | |
| 2/3 | iommu: optimize iova_magazine_free_pfns()drivers/ | +11 | 4 replies | |
| 3/3 | iommu: avoid taking iova_rbtree_lock twicedrivers/ | +6 | 3 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | John Garry | Robin Murphy |
|---|---|---|
| 1/3 | ||
| 2/3 | ||
| 3/3 | R-b R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch v3 0/3] iommu: reduce spinlock contention on fast path
This patchset contains three small optimizations for the global spinlock contention in IOVA cache. Our memcache perf test shows this reduced its p999 latency down by 45% on AMD when IOMMU is enabled.
(Resending v3 on Joerg's request.)
Cong Wang (3):
iommu: avoid unnecessary magazine allocations
iommu: optimize iova_magazine_free_pfns()
iommu: avoid taking iova_rbtree_lock twice
---
v3: improve changelog, no code change
v2: fix a memory leak
drivers/iommu/iova.c | 75 ++++++++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 30 deletions(-)
Signature · 1 line
2.21.0