Skip to content

Commit

Permalink
vmbus: callback is in softirq not workqueue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Hemminger authored and Greg Kroah-Hartman committed Feb 14, 2017
1 parent def95c7 commit 51c6ce2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/linux/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 51c6ce2

Please sign in to comment.