]> git.baikalelectronics.ru Git - kernel.git/commit
dwc_eth_qos: Remove deprecated create_singlethread_workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Sat, 16 Jul 2016 08:23:28 +0000 (13:53 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2016 05:27:39 +0000 (22:27 -0700)
commit3575392fcee6e5b30b424d32daa1227decf859da
tree37f131e7c32bdaf5ba47da51f3a725b468358b35
parent822b5889a823fcecc3913154c30f05d80a2803ef
dwc_eth_qos: Remove deprecated create_singlethread_workqueue

alloc_workqueue replaces deprecated create_singlethread_workqueue().

A dedicated workqueue has been used since the workitem viz
lp->txtimeout_reinit is involved in reinitialization if a TX timeout
occurs, which is necessary to guarantee forward progress in packet
processing. As a network device can be used during memory reclaim, the
workqueue needs forward progress guarantee under memory pressure.
WQ_MEM_RECLAIM has been set to ensure this.

Since there is only a single work item, explicit concurrency limit is
unnecessary here.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/synopsys/dwc_eth_qos.c