Re: [PATCH update] firewire: core: use non-reentrant workqueue withrescuer

From: Tejun Heo
Date: Wed Oct 13 2010 - 05:47:32 EST


Hello,

On 10/12/2010 11:29 PM, Stefan Richter wrote:
...
> fw_card.br_work instances should not, and instances of the others must
> not, be executed in parallel by multiple CPUs -- but were not protected
> against that. Hence allocated a non-reentrant workqueue for them.
>
> fw_device.work may be used in the memory reclaim path in case of SBP-2
> device updates. Hence we need a workqueue with rescuer and cannot use
> system_nrt_wq.
>
> Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>

Looks good to me.

Reviewed-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/