diff options
| author | Bhaktipriya Shridhar <[email protected]> | 2016-08-30 16:32:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-09-01 23:41:07 +0000 |
| commit | f9f225ebf54992dd52fea198d32a329e7fab6eb6 (patch) | |
| tree | 26d176cdeff6f906b58fbca48c468857421c0b52 /net/switchdev/switchdev.c | |
| parent | sky2: use napi_complete_done (diff) | |
| download | kernel-f9f225ebf54992dd52fea198d32a329e7fab6eb6.tar.gz kernel-f9f225ebf54992dd52fea198d32a329e7fab6eb6.zip | |
bonding: Remove deprecated create_singlethread_workqueue
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces
deprecated create_singlethread_workqueue(). This is the identity
conversion.
The workqueue "wq" queues multiple work items viz
&bond->mcast_work, &nnw->work, &bond->mii_work, &bond->arp_work,
&bond->alb_work, &bond->mii_work, &bond->ad_work, &bond->slave_arr_work
which require strict execution ordering. Hence, an ordered dedicated
workqueue has been used.
Since, it is a network driver, WQ_MEM_RECLAIM has been set to
ensure forward progress under memory pressure.
Signed-off-by: Bhaktipriya Shridhar <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
