Skip to content

Eliminate spin locks in the vmbus channel callback path

K. Y. Srinivasan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Drivers: hv: Eliminate the channel spinlock in the callback pathdrivers/hv/channel.c drivers/hv/channel_mgmt.c drivers/hv/connection.c +1 more+25 -150 replies
2/2Drivers: hv: vmbus: Implement per-CPU mapping of relid to channeldrivers/hv/channel_mgmt.c drivers/hv/connection.c drivers/hv/hv.c +2 more+75 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHaiyang Zhang
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Eliminate spin locks in the vmbus channel callback path

Currently we map the channel handle to the channel under the protection of a spin lock. Additionally, we dispatch the channel callback function under the protection of the channel inbound lock (another spin lock). In some recent nework performance runs, the time spent acquiring and releasing these locks were identified as potential bottlenecks. This patch-set gets rid of these locks by leveraging the interrupt bindings that we support starting with win8.

K. Y. Srinivasan (2):
Drivers: hv: Eliminate the channel spinlock in the callback path
Drivers: hv: vmbus: Implement per-CPU mapping of relid to channel

 drivers/hv/channel.c      |   16 ++++++++++---
 drivers/hv/channel_mgmt.c |   52 ++++++++++++++++++++++++++++++++++++++++----
 drivers/hv/connection.c   |   35 +++++++++++++++++++++++-------
 drivers/hv/hv.c           |    2 +
 drivers/hv/hyperv_vmbus.h |    5 ++++
 include/linux/hyperv.h    |    7 ++++++
 6 files changed, 100 insertions(+), 17 deletions(-)
Signature · 1 line
1.7.4.1