From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964807AbcHaOZs (ORCPT ); Wed, 31 Aug 2016 10:25:48 -0400 Received: from mail-yw0-f195.google.com ([209.85.161.195]:35085 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934976AbcHaOZp (ORCPT ); Wed, 31 Aug 2016 10:25:45 -0400 Date: Wed, 31 Aug 2016 10:25:44 -0400 From: Tejun Heo To: Bhaktipriya Shridhar Cc: Sathya Prakash , Chaitra P B , Suganath Prabu Subramani , MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] fusion: mptbase: Remove deprecated create_singlethread_workqueue Message-ID: <20160831142544.GN12660@htj.duckdns.org> References: <05a0e321c521d102e5a908bb4173e684e8a16c9a.1472583639.git.bhaktipriya96@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05a0e321c521d102e5a908bb4173e684e8a16c9a.1472583639.git.bhaktipriya96@gmail.com> User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 31, 2016 at 12:33:25AM +0530, Bhaktipriya Shridhar wrote: > The workqueues "ioc->reset_work_q" and "ioc->fw_event_q" queue a single > work item &ioc->fault_reset_work and &fw_event->work, respectively and > hence don't require ordering. Hence, they have been converted to use > alloc_workqueue(). > > The WQ_MEM_RECLAIM flag has been set to ensure forward progress under > memory pressure since the workqueue belongs to a storage driver which is > being used on a memory reclaim path. > > Since there are fixed number of work items, explicit concurrency > limit is unnecessary here. > > Signed-off-by: Bhaktipriya Shridhar Acked-by: Tejun Heo Thanks. -- tejun