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

K. Y. Srinivasan kys at microsoft.com
Wed Apr 9 01:45:28 UTC 2014


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(-)

-- 
1.7.4.1



More information about the devel mailing list