cfg80211: Remove deprecated create_singlethread_workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Tue, 30 Aug 2016 19:05:07 +0000 (00:35 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Sep 2016 09:24:48 +0000 (11:24 +0200)
commite4819013840bbad025ed6da660c1e8b3e9e8430a
treedaedf8fbdab6366530c956292c44d23ccf20cfe4
parentd82121845d44334f5ec3c98906d1e4a592350beb
cfg80211: Remove deprecated create_singlethread_workqueue

The workqueue "cfg80211_wq" is involved in cleanup, scan and event related
works. It queues multiple work items &rdev->event_work,
&rdev->dfs_update_channels_wk,
&wiphy_to_rdev(request->wiphy)->scan_done_wk,
&wiphy_to_rdev(wiphy)->sched_scan_results_wk, which require strict
execution ordering.
Hence, an ordered dedicated workqueue has been used.

Since it's a wireless driver, WQ_MEM_RECLAIM has been set to ensure
forward progress under memory pressure.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c