Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1424186 > unrolled thread
| Started by | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| First post | 2016-06-16 17:30 +0200 |
| Last post | 2016-06-16 17:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: libertas: Remove create_workqueue Kalle Valo <kvalo@codeaurora.org> - 2016-06-16 17:30 +0200
| From | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| Date | 2016-06-16 17:30 +0200 |
| Subject | Re: libertas: Remove create_workqueue |
| Message-ID | <rKHoZ-1Bu-1@gated-at.bofh.it> |
Bhaktipriya Shridhar <bhaktipriya96@gmail.com> wrote: > alloc_workqueue replaces deprecated create_workqueue(). > > In if_sdio.c, the workqueue card->workqueue has workitem > &card->packet_worker, which is mapped to if_sdio_host_to_card_worker. > The workitem is involved in sending packets to firmware. > Forward progress under memory pressure is a requirement here. > > In if_spi.c, the workqueue card->workqueue has workitem > &card->packet_worker, which is mapped to if_spi_host_to_card_worker. > The workitem is involved in sending command packets from the host. > Forward progress under memory pressure is a requirement here. > > Dedicated workqueues have been used in both cases since the workitems > on the workqueues are involved in normal device operation with > WQ_MEM_RECLAIM set to gurantee forward progress under memory pressure. > Since there are only a fixed number of work items, explicit concurrency > limit is unnecessary. > > flush_workqueue is unnecessary since destroy_workqueue() itself calls > drain_workqueue() which flushes repeatedly till the workqueue > becomes empty. Hence the calls to flush_workqueue() before > destroy_workqueue() have been dropped. > > Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> > Acked-by: Tejun Heo <tj@kernel.org> Thanks, 1 patch applied to wireless-drivers-next.git: f9f905b00b87 libertas: Remove create_workqueue -- Sent by pwcli https://patchwork.kernel.org/patch/9154703/
Back to top | Article view | linux.kernel
csiph-web