diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-09-09 13:53:40 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2013-09-07 19:06:04 -0700 |
commit | 533e96e7baa8c195bb6e7f3e0cdd3cd72e3a37e7 (patch) | |
tree | 7ddad29796af4330f18e4a0360cf8a04037afa05 /datapath/dp_notify.c | |
parent | df7d2c59fd78907a9f7e3ada021b95a4b9d6470b (diff) | |
download | openvswitch-533e96e7baa8c195bb6e7f3e0cdd3cd72e3a37e7.tar.gz |
datapath: Remove compat workqueue.
OVS has its own workq implementation for coupe of reasons. first
was to avoid system freeze due to ovs-flow rehash softlockup.
We have moved out rehash from workq, So this problem does not exist.
second was related bugs in kernel workq implementation in pre-2.6.32
kernel. But we have dropped support for older kernel.
So there is no reason to keep ovs-workq around. Following patch
removes it.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'datapath/dp_notify.c')
-rw-r--r-- | datapath/dp_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/dp_notify.c b/datapath/dp_notify.c index 847f6116f..b5178fc71 100644 --- a/datapath/dp_notify.c +++ b/datapath/dp_notify.c @@ -90,7 +90,7 @@ static int dp_device_event(struct notifier_block *unused, unsigned long event, if (event == NETDEV_UNREGISTER) { ovs_net = net_generic(dev_net(dev), ovs_net_id); - queue_work(&ovs_net->dp_notify_work); + queue_work(system_wq, &ovs_net->dp_notify_work); } return NOTIFY_DONE; |