Return-path: Received: from mail-yb0-f195.google.com ([209.85.213.195]:35581 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934976AbcHaO0E (ORCPT ); Wed, 31 Aug 2016 10:26:04 -0400 Date: Wed, 31 Aug 2016 10:26:02 -0400 From: Tejun Heo To: Bhaktipriya Shridhar Cc: Johannes Berg , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] cfg80211: Remove deprecated create_singlethread_workqueue Message-ID: <20160831142602.GO12660@htj.duckdns.org> (sfid-20160831_162608_932751_534007B7) References: <20160830190507.GA11493@Karyakshetra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20160830190507.GA11493@Karyakshetra> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Aug 31, 2016 at 12:35:07AM +0530, Bhaktipriya Shridhar wrote: > The workqueue "cfg80211_wq" is involved in cleanup, scan and event related > works. It queues multiple work items &rdev->event_work, > &rdev->dfs_update_channels_wk, > &wiphy_to_rdev(request->wiphy)->scan_done_wk, > &wiphy_to_rdev(wiphy)->sched_scan_results_wk, which require strict > execution ordering. > Hence, an ordered dedicated workqueue has been used. > > Since it's a wireless driver, WQ_MEM_RECLAIM has been set to ensure > forward progress under memory pressure. > > Signed-off-by: Bhaktipriya Shridhar Acked-by: Tejun Heo Thanks. -- tejun