Re: [PATCH] can: mcp251x: Replace create_freezable_workqueue with alloc_workqueue

From: Marc Kleine-Budde
Date: Mon Apr 11 2016 - 04:48:25 EST


On 04/08/2016 05:32 PM, Amitoj Kaur Chawla wrote:
> Replace scheduled to be removed create_freezable_workqueue with
> alloc_workqueue.
>
> priv->wq should be explicitly set as freezable to ensure it is frozen
> in the suspend sequence and work items are drained so that no new work
> item starts execution until thawed. Thus, use of WQ_FREEZABLE flag
> here is required.
>
> WQ_MEM_RECLAIM flag has been set here to ensure forward progress
> regardless of memory pressure.
>
> The order of execution is not important so set @max_active as 0.
>
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@xxxxxxxxx>
> Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Applied to can-next/master.

Tnx,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |

Attachment: signature.asc
Description: OpenPGP digital signature