[PATCH v2 0/5] Drivers: hv: ring_buffer: do some code cleanup and optimization

From: Vitaly Kuznetsov
Date: Tue Dec 08 2015 - 12:07:48 EST


Changes since v1: added PATCH 4/5 and 5/5.

1) Fix comment style in ring_buffer.c
2) Remove unneeded smp_read_barrier_depends() from hyperv.h
3) Unify hv_ringbuffer_peek/read() functions
4) Unify vmbus_recvpacket()/vmbus_recvpacket_raw() functions
5) Eliminate hv_ringbuffer_peek().

Vitaly Kuznetsov (5):
Drivers: hv: ring_buffer.c: fix comment style
Drivers: hv: ring_buffer: remove stray smp_read_barrier_depends()
Drivers: hv: ring_buffer: remove code duplication from
hv_ringbuffer_peek/read()
Drivers: hv: remove code duplication between
vmbus_recvpacket()/vmbus_recvpacket_raw()
Drivers: hv: ring_buffer: eliminate hv_ringbuffer_peek()

drivers/hv/channel.c | 81 ++++-------------
drivers/hv/hyperv_vmbus.h | 11 +--
drivers/hv/ring_buffer.c | 218 ++++++++++++++--------------------------------
include/linux/hyperv.h | 2 -
4 files changed, 83 insertions(+), 229 deletions(-)

--
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/