commit | 3eba9a77d5fc2cee486a16fff435686f024f61cf | [log] [tgz] |
---|---|---|
author | K. Y. Srinivasan <kys@microsoft.com> | Wed Jan 27 22:29:44 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 21:34:12 2016 -0800 |
tree | de72dc9b5edc88f242121f589ad33d37f76f747e | |
parent | 85d9aa705184a4504d0330017e3956fcdae8a9d6 [diff] |
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>