Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1412330
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: fjes: fjes_main: Remove create_workqueue |
| Date | 2016-06-02 17:00 +0200 |
| Message-ID | <rFCgh-7bC-11@gated-at.bofh.it> (permalink) |
| References | <rFxgC-4bE-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jun 02, 2016 at 03:00:57PM +0530, Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_workqueue(). > > The workqueue adapter->txrx_wq has workitem > &adapter->raise_intr_rxdata_task per adapter. Extended Socket Network > Device is shared memory based, so someone's transmission denotes other's > reception. raise_intr_rxdata_task raises interruption of receivers from > the sender in order to notify receivers. > > The workqueue adapter->control_wq has workitem > &adapter->interrupt_watch_task per adapter. interrupt_watch_task is used > to prevent delay of interrupts. > > Dedicated workqueues have been used in both cases since the workitems > on the workqueues are involved in normal device operation and require > forward progress under memory pressure. > > max_active has been set to 0 since there is no need for throttling > the number of active work items. > > Since network devices may be used for memory reclaim, > WQ_MEM_RECLAIM has been set to guarantee forward progress. Patch looks good but ditto with the description. I wish it were clearer. Thanks. -- tejun
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] net: fjes: fjes_main: Remove create_workqueue Bhaktipriya Shridhar <bhaktipriya96@gmail.com> - 2016-06-02 11:40 +0200
Re: [PATCH] net: fjes: fjes_main: Remove create_workqueue Tejun Heo <tj@kernel.org> - 2016-06-02 17:00 +0200
RE: [PATCH] net: fjes: fjes_main: Remove create_workqueue "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2016-06-03 02:00 +0200
Re: [PATCH] net: fjes: fjes_main: Remove create_workqueue Bhaktipriya Shridhar <bhaktipriya96@gmail.com> - 2016-06-04 16:10 +0200
Re: [PATCH] net: fjes: fjes_main: Remove create_workqueue David Miller <davem@davemloft.net> - 2016-06-04 21:40 +0200
csiph-web