Return-path: Received: from mail-it0-f65.google.com ([209.85.214.65]:35468 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751896AbcFKWrR (ORCPT ); Sat, 11 Jun 2016 18:47:17 -0400 Date: Sat, 11 Jun 2016 17:47:08 -0500 From: Tejun Heo To: Bhaktipriya Shridhar Cc: Kalle Valo , Johannes Berg , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] libertas_tf: Remove create_workqueue Message-ID: <20160611224708.GC31708@htj.duckdns.org> (sfid-20160612_004736_836227_54F00FFC) References: <20160607200853.GA13742@Karyakshetra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20160607200853.GA13742@Karyakshetra> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Jun 08, 2016 at 01:38:53AM +0530, Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_workqueue(). > > A dedicated workqueue has been used since the workitem (viz > &priv->cmd_work per priv, which maps to lbtf_cmd_work) is involved in > actual command processing and may be used on a memory reclaim path. > The workitems require forward progress under memory pressure and hence, > WQ_MEM_RECLAIM has been set. Since there are only a fixed number of work > items, explicit concurrency limit is unnecessary here. > > Signed-off-by: Bhaktipriya Shridhar Acked-by: Tejun Heo Thanks. -- tejun