summaryrefslogtreecommitdiffstats
path: root/lib/memweight.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2016-01-27 22:29:44 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 21:34:12 -0800
commit3eba9a77d5fc2cee486a16fff435686f024f61cf (patch)
treede72dc9b5edc88f242121f589ad33d37f76f747e /lib/memweight.c
parent85d9aa705184a4504d0330017e3956fcdae8a9d6 (diff)
downloadop-kernel-dev-3eba9a77d5fc2cee486a16fff435686f024f61cf.zip
op-kernel-dev-3eba9a77d5fc2cee486a16fff435686f024f61cf.tar.gz
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 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud