Drivers: hv: vmbus: Eliminate the spin lock on the read path
commit3eba9a77d5fc2cee486a16fff435686f024f61cf
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 28 Jan 2016 06:29:44 +0000 (27 22:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 05:34:12 +0000 (7 21:34 -0800)
treede72dc9b5edc88f242121f589ad33d37f76f747e
parent85d9aa705184a4504d0330017e3956fcdae8a9d6
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>
drivers/hv/ring_buffer.c