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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux