]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Drivers: hv: vmbus: vmbus_sendpacket_ctl: hvsock: avoid unnecessary signaling
authorDexuan Cui <decui@microsoft.com>
Thu, 28 Jan 2016 06:29:39 +0000 (22:29 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:29:00 +0000 (10:29 +0100)
commited50c38acb6f94d51fbbaf0380215c92dfcafc09
tree6a4c27a3f94794033fbee67a337299ebb01a6e8e
parent5b726cddfbbccc12b43ad51038cd81469a86e36c
Drivers: hv: vmbus: vmbus_sendpacket_ctl: hvsock: avoid unnecessary signaling

BugLink: http://bugs.launchpad.net/bugs/1541585
When the hvsock channel's outbound ringbuffer is full (i.e.,
hv_ringbuffer_write() returns -EAGAIN), we should avoid the unnecessary
signaling the host.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5f363bc38f810d238d1e8b19998625ddec3b8138)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/hv/channel.c