diff options
author | Stephen Hemminger | 2017-02-12 07:02:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-02-14 19:20:35 +0100 |
commit | 631e63a9f346cb657761ae22138f294718696501 (patch) | |
tree | 9d207333ca07e73282e8c7e8a4c36cf73f0d7b63 /include/linux/hyperv.h | |
parent | vmbus: put related per-cpu variable together (diff) | |
download | kernel-qcow2-linux-631e63a9f346cb657761ae22138f294718696501.tar.gz kernel-qcow2-linux-631e63a9f346cb657761ae22138f294718696501.tar.xz kernel-qcow2-linux-631e63a9f346cb657761ae22138f294718696501.zip |
vmbus: change to per channel tasklet
Make the event handling tasklet per channel rather than per-cpu.
This allows for better fairness when getting lots of data on the same
cpu.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index c9b6d533958f..69afc9337c0d 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -35,7 +35,7 @@ #include <linux/completion.h> #include <linux/device.h> #include <linux/mod_devicetable.h> - +#include <linux/interrupt.h> #define MAX_PAGE_BUFFER_COUNT 32 #define MAX_MULTIPAGE_BUFFER_COUNT 32 /* 128K */ @@ -743,6 +743,7 @@ struct vmbus_channel { struct vmbus_close_msg close_msg; /* Channel callback's invoked in softirq context */ + struct tasklet_struct callback_event; void (*onchannel_callback)(void *context); void *channel_callback_context; |