Drivers: hv: Implement routines for read side signaling optimization
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 1 Dec 2012 14:46:32 +0000 (06:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 18:46:39 +0000 (10:46 -0800)
commit6fdf3b21433e901dcba0ac186f00d604ce944f56
tree57ba241493d522388a1d8eda8663f43c96b57f32
parent0bffd25ce919f88ea6473150b66d26e7fa5712af
Drivers: hv: Implement routines for read side signaling optimization

Implement functions that will support read-side signaling optimization.
By having the reader indicate the start of the "read" operation and the
"end" of the read operation we can more efficiently handle the signaling
protocol: while the read is in progress, there is no need for the "writer"
to signal the "reader" as new items are put on the read queue.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hyperv_vmbus.h
drivers/hv/ring_buffer.c