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

KY Srinivasan kys at microsoft.com
Wed Apr 23 17:54:08 UTC 2014



> -----Original Message-----
> From: K. Y. Srinivasan [mailto:kys at microsoft.com]
> Sent: Tuesday, April 8, 2014 6:45 PM
> To: gregkh at linuxfoundation.org; linux-kernel at vger.kernel.org;
> devel at linuxdriverproject.org; olaf at aepfle.de; apw at canonical.com;
> jasowang at redhat.com
> Cc: KY Srinivasan
> Subject: [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(-)
> 
> --
> 1.7.4.1

Greg,

Should I resend this patch set.

K. Y


More information about the devel mailing list