iwlwifi: dvm: use alloc_ordered_workqueue()
authorEva Rachel Retuya <eraretuya@gmail.com>
Sat, 19 Mar 2016 05:15:47 +0000 (05:15 +0000)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 30 Mar 2016 13:21:27 +0000 (16:21 +0300)
commitb429a773c193ee7cb752144e590181a1b8cc8fb5
tree477a0c449a31102a1dc1c712374d5b66d3826b08
parent97f95c93c8ed5177371e75275f236513152fa308
iwlwifi: dvm: use alloc_ordered_workqueue()

Use alloc_ordered_workqueue() to allocate the workqueue instead of
create_singlethread_workqueue() since the latter is deprecated and is scheduled
for removal.

There are work items doing related operations that shouldn't be swapped when
queued in a certain order hence preserve the strict execution ordering of a
single threaded (ST) workqueue by switching to alloc_ordered_workqueue().

WQ_MEM_RECLAIM flag is not needed since the worker is not depended
during memory reclaim.

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/dvm/main.c