iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] iommu: reduce spinlock contention on fast path
@ 2019-11-21  0:13 Cong Wang
  2019-11-21  0:13 ` [PATCH 1/3] iommu: match the original algorithm Cong Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Cong Wang @ 2019-11-21  0:13 UTC (permalink / raw)
  To: iommu; +Cc: Cong Wang, linux-kernel

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.

Cong Wang (3):
  iommu: match the original algorithm
  iommu: optimize iova_magazine_free_pfns()
  iommu: avoid taking iova_rbtree_lock twice

---
 drivers/iommu/iova.c | 44 +++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 19 deletions(-)

-- 
2.21.0

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-28 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  0:13 [PATCH 0/3] iommu: reduce spinlock contention on fast path Cong Wang
2019-11-21  0:13 ` [PATCH 1/3] iommu: match the original algorithm Cong Wang
2019-11-27 18:00   ` John Garry
2019-11-27 18:38     ` Qian Cai
2019-11-28 19:30     ` Cong Wang
2019-11-21  0:13 ` [PATCH 2/3] iommu: optimize iova_magazine_free_pfns() Cong Wang
2019-11-21  0:13 ` [PATCH 3/3] iommu: avoid taking iova_rbtree_lock twice Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).