From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965374AbcFMM36 (ORCPT ); Mon, 13 Jun 2016 08:29:58 -0400 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 Date: Mon, 13 Jun 2016 20:29:31 +0800 From: Herbert Xu To: Bhaktipriya Shridhar 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 Subject: Re: [PATCH] crypto: qat: Remove deprecated create_workqueue Message-ID: <20160613122931.GA8583@gondor.apana.org.au> References: <20160607211746.GA17667@Karyakshetra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160607211746.GA17667@Karyakshetra> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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