[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <570B61DB.9070909@pengutronix.de>
Date: Mon, 11 Apr 2016 10:35:39 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Amitoj Kaur Chawla <amitoj1606@...il.com>, wg@...ndegger.com,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: tj@...nel.org
Subject: Re: [PATCH] can: mcp251x: Replace create_freezable_workqueue with
alloc_workqueue
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@...il.com>
> Acked-by: Tejun Heo <tj@...nel.org>
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 |
Download attachment "signature.asc" of type "application/pgp-signature" (456 bytes)
Powered by blists - more mailing lists