[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160613122931.GA8583@gondor.apana.org.au>
Date: Mon, 13 Jun 2016 20:29:31 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Bhaktipriya Shridhar <bhaktipriya96@...il.com>
Cc: Tadeusz Struk <tadeusz.struk@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Julia Lawall <Julia.Lawall@...6.fr>,
Conor McLoughlin <conor.mcloughlin@...el.com>,
Pingchao Yang <pingchao.yang@...el.com>,
Ahsan Atta <ahsan.atta@...el.com>,
John Griffin <john.griffin@...el.com>,
Wu Fengguang <fengguang.wu@...el.com>,
Tejun Heo <tj@...nel.org>, qat-linux@...el.com,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: qat: Remove deprecated create_workqueue
On Wed, Jun 08, 2016 at 02:47:47AM +0530, Bhaktipriya Shridhar wrote:
> alloc_workqueue replaces deprecated create_workqueue().
>
> The workqueue device_reset_wq has workitem &reset_data->reset_work per
> adf_reset_dev_data. The workqueue pf2vf_resp_wq is a workqueue for
> PF2VF responses has workitem &pf2vf_resp->pf2vf_resp_work per pf2vf_resp.
> The workqueue adf_vf_stop_wq is used to call adf_dev_stop()
> asynchronously.
>
> Dedicated workqueues have been used in all cases since the workitems
> on the workqueues are involved in operation of crypto which can be used in
> the IO path which is depended upon during memory reclaim. Hence,
> WQ_MEM_RECLAIM has been set to gurantee forward progress under memory
> pressure.
> Since there are only a fixed number of work items, explicit concurrency
> limit is unnecessary.
>
> Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@...il.com>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists