summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan2016-01-28 07:29:44 +0100
committerGreg Kroah-Hartman2016-02-08 06:34:12 +0100
commit3eba9a77d5fc2cee486a16fff435686f024f61cf (patch)
treede72dc9b5edc88f242121f589ad33d37f76f747e /drivers/hv/channel.c
parentDrivers: hv: vmbus: add an API vmbus_hvsock_device_unregister() (diff)
downloadkernel-qcow2-linux-3eba9a77d5fc2cee486a16fff435686f024f61cf.tar.gz
kernel-qcow2-linux-3eba9a77d5fc2cee486a16fff435686f024f61cf.tar.xz
kernel-qcow2-linux-3eba9a77d5fc2cee486a16fff435686f024f61cf.zip
Drivers: hv: vmbus: Eliminate the spin lock on the read path
The function hv_ringbuffer_read() is called always on a pre-assigned CPU. Each chnnel is bound to a specific CPU and this function is always called on the CPU the channel is bound. There is no need to acquire the spin lock; get rid of this overhead. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel.c')
0 files changed, 0 insertions, 0 deletions