aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <[email protected]>2016-08-30 16:32:01 +0000
committerDavid S. Miller <[email protected]>2016-09-01 23:41:07 +0000
commitf9f225ebf54992dd52fea198d32a329e7fab6eb6 (patch)
tree26d176cdeff6f906b58fbca48c468857421c0b52 /net/switchdev/switchdev.c
parentsky2: use napi_complete_done (diff)
downloadkernel-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