Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1345246

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

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3] staging: octeon: Convert create_singlethread_workqueue()
Date 2016-02-28 14:20 +0100
Message-ID <r79qq-2OC-15@gated-at.bofh.it> (permalink)
References <r6RjQ-6Df-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>

For the workqueue part,

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

Thanks.

-- 
tejun

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v3] staging: octeon: Convert create_singlethread_workqueue() Bhaktipriya Shridhar <bhaktipriya96@gmail.com> - 2016-02-27 19:00 +0100
  Re: [PATCH v3] staging: octeon: Convert  create_singlethread_workqueue() Tejun Heo <tj@kernel.org> - 2016-02-28 14:20 +0100

csiph-web