[PATCH v3] staging: octeon: Convert create_singlethread_workqueue()

Tejun Heo tj at kernel.org
Sun Feb 28 13:09:50 UTC 2016


Hello,

On Sat, Feb 27, 2016 at 11:21:47PM +0530, Bhaktipriya Shridhar wrote:
> With conccurency managed workqueues, use of dedicated workqueues can
> be replaced by system_wq. Drop cvm_oct_poll_queue by using system_wq.
> 
> There are multiple work items per cvm_oct_poll_queue (viz.
> cvm_oct_rx_refill_work, port_periodic_work) and different
> cvm_oct_poll_queues need not be be ordered. Hence, concurrency
> can be increased by switching to system_wq.
> 
> All work items are sync canceled in cvm_oct_remove() so it
> is guaranteed that no work is in flight by the time exit path runs.
> 
> Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96 at gmail.com>

For the workqueue part,

Acked-by: Tejun Heo <tj at kernel.org>

Thanks.

-- 
tejun


More information about the devel mailing list