Drivers: hv: vmbus: Implement a mechanism to tag the channel for low latency
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 1 Jul 2016 23:26:37 +0000 (16:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 11:05:41 +0000 (13:05 +0200)
commit3724287c0ec472815ebe5ae3790f77965c6aa557
tree7a7364937447691888e458e854f0ee688ecce419
parent8de0d7e951826d7592e0ba1da655b175c4aa0923
Drivers: hv: vmbus: Implement a mechanism to tag the channel for low latency

On Hyper-V, performance critical channels use the monitor
mechanism to signal the host when the guest posts mesages
for the host. This mechanism minimizes the hypervisor intercepts
and also makes the host more efficient in that each time the
host is woken up, it processes a batch of messages as opposed to
just one. The goal here is improve the throughput and this is at
the expense of increased latency.
Implement a mechanism to let the client driver decide if latency
is important.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
include/linux/hyperv.h