diff options
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-07-26 20:08:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-27 01:18:56 +0300 |
commit | 0a91605cda883f7a25b1e7fa8cdc3f633ae8f8e0 (patch) | |
tree | 636abbd76d500b8b9f861843b41547356a45cbb7 /net | |
parent | 90b5ca1766ae7806a711d66df056af1290faa2c0 (diff) | |
download | linux-0a91605cda883f7a25b1e7fa8cdc3f633ae8f8e0.tar.xz |
net/mlx5_core/health: Remove deprecated create_singlethread_workqueue
The workqueue health->wq was used as per device private health thread.
This was done to perform delayed work.
The workqueue has a single workitem(&health->work) and
hence doesn't require ordering. It is involved in handling the health of
the device and is not being used on a memory reclaim path.
Hence, the singlethreaded workqueue has been replaced with the use of
system_wq.
Work item has been flushed in mlx5_health_cleanup() to ensure that
there are no pending tasks while disconnecting the driver.
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions