[PATCH V2 12/13] Drivers: hv: vmbus: Eliminate the spin lock on the read path

2016-01-27 Thread K. Y. Srinivasan
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 ---

[PATCH V2 12/13] Drivers: hv: vmbus: Eliminate the spin lock on the read path

2016-01-27 Thread K. Y. Srinivasan
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