Drivers: hv: vmbus: Implement per-CPU mapping of relid to channel
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 9 Apr 2014 01:45:54 +0000 (18:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:24:26 +0000 (19:24 -0400)
commit3a28fa35d6658703cd26f9c16aaea0eae06afd40
treebcc8f07bbd9365e0a270c85af0e50ce3e1682987
parentd3ba720dd58cdf6630fee4b89482c465d5ad0d0f
Drivers: hv: vmbus: Implement per-CPU mapping of relid to channel

Currently the mapping of the relID to channel is done under the protection of a
single spin lock. Starting with ws2012, each channel is bound to a specific VCPU
in the guest. Use this binding to eliminate the spin lock by setting up
per-cpu state for mapping relId to the channel.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
drivers/hv/connection.c
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h
include/linux/hyperv.h
This page took 0.054358 seconds and 5 git commands to generate.