From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934945AbcHaOFh (ORCPT ); Wed, 31 Aug 2016 10:05:37 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:32809 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934774AbcHaOFc (ORCPT ); Wed, 31 Aug 2016 10:05:32 -0400 Date: Wed, 31 Aug 2016 10:05:29 -0400 From: Tejun Heo To: Bhaktipriya Shridhar Cc: Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bonding: Remove deprecated create_singlethread_workqueue Message-ID: <20160831140529.GE12660@htj.duckdns.org> References: <20160830163201.GA25869@Karyakshetra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160830163201.GA25869@Karyakshetra> 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 Tue, Aug 30, 2016 at 10:02:01PM +0530, Bhaktipriya Shridhar wrote: > alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces > deprecated create_singlethread_workqueue(). This is the identity > conversion. > > The workqueue "wq" queues multiple work items viz > &bond->mcast_work, &nnw->work, &bond->mii_work, &bond->arp_work, > &bond->alb_work, &bond->mii_work, &bond->ad_work, &bond->slave_arr_work > which require strict execution ordering. Hence, an ordered dedicated > workqueue has been used. > > Since, it is a network 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