]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
vmbus: callback is in softirq not workqueue
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 12 Feb 2017 06:02:18 +0000 (23:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2017 18:20:35 +0000 (10:20 -0800)
The callback is done via tasklet not workqueue.

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>
include/linux/hyperv.h

index e208e6437f5b1d3a24656f02c1b14f56125dd965..c9b6d533958f4b7a08a6dc2581ba3acf13cb17a7 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/scatterlist.h>
 #include <linux/list.h>
 #include <linux/timer.h>
-#include <linux/workqueue.h>
 #include <linux/completion.h>
 #include <linux/device.h>
 #include <linux/mod_devicetable.h>
@@ -743,9 +742,7 @@ struct vmbus_channel {
 
        struct vmbus_close_msg close_msg;
 
-       /* Channel callback are invoked in this workqueue context */
-       /* HANDLE dataWorkQueue; */
-
+       /* Channel callback's invoked in softirq context */
        void (*onchannel_callback)(void *context);
        void *channel_callback_context;