diff options
author | 2015-12-14 19:01:59 -0800 | |
---|---|---|
committer | 2015-12-14 19:27:30 -0800 | |
commit | b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1 (patch) | |
tree | a687c90208f4a31eaa6f4be4a29264742864f889 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Drivers: hv: ring_buffer: remove stray smp_read_barrier_depends() (diff) | |
download | linux-dev-b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1.tar.xz linux-dev-b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1.zip |
Drivers: hv: ring_buffer: remove code duplication from hv_ringbuffer_peek/read()
hv_ringbuffer_peek() does the same as hv_ringbuffer_read() without
advancing the read index. The only functional change this patch brings
is moving hv_need_to_signal_on_read() call under the ring_lock but this
function is just a couple of comparisons.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions