Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1450945
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] net/mlx5_core/health: Remove deprecated create_singlethread_workqueue |
| Date | 2016-07-27 00:20 +0200 |
| Message-ID | <rZiRI-7L4-33@gated-at.bofh.it> (permalink) |
| References | <rVMEF-56A-3@gated-at.bofh.it> <rZe1I-4Pb-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Date: Tue, 26 Jul 2016 22:38:24 +0530 > 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> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] net/mlx5_core/health: Remove deprecated create_singlethread_workqueue Bhaktipriya Shridhar <bhaktipriya96@gmail.com> - 2016-07-26 19:10 +0200 Re: [PATCH v2] net/mlx5_core/health: Remove deprecated create_singlethread_workqueue Leon Romanovsky <leonro@mellanox.com> - 2016-07-26 20:20 +0200 Re: [PATCH v2] net/mlx5_core/health: Remove deprecated create_singlethread_workqueue David Miller <davem@davemloft.net> - 2016-07-27 00:20 +0200
csiph-web