From: Herbert Xu Subject: Re: [PATCH] crypto: qat: Remove deprecated create_workqueue Date: Mon, 13 Jun 2016 20:29:31 +0800 Message-ID: <20160613122931.GA8583@gondor.apana.org.au> References: <20160607211746.GA17667@Karyakshetra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tadeusz Struk , "David S. Miller" , Julia Lawall , Conor McLoughlin , Pingchao Yang , Ahsan Atta , John Griffin , Wu Fengguang , Tejun Heo , qat-linux@intel.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org To: Bhaktipriya Shridhar Return-path: Received: from helcar.hengli.com.au ([209.40.204.226]:35146 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965065AbcFMM34 (ORCPT ); Mon, 13 Jun 2016 08:29:56 -0400 Content-Disposition: inline In-Reply-To: <20160607211746.GA17667@Karyakshetra> Sender: linux-crypto-owner@vger.kernel.org List-ID: 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 Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt