From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964857AbcHaO2H (ORCPT ); Wed, 31 Aug 2016 10:28:07 -0400 Received: from lan.nucleusys.com ([92.247.61.126]:40958 "EHLO zztop.nucleusys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934861AbcHaO2F (ORCPT ); Wed, 31 Aug 2016 10:28:05 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <20160831142305.GI12660@htj.duckdns.org> References: <20160830163247.GA25925@Karyakshetra> <20160831142305.GI12660@htj.duckdns.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [PATCH] net: pegasus: Remove deprecated create_singlethread_workqueue From: Petko Manolov Date: Wed, 31 Aug 2016 17:27:51 +0300 To: Tejun Heo , Bhaktipriya Shridhar CC: Petko Manolov , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: X-Spam-Score: -1.0 (-) X-Spam-Report: Spam detection software, running on the system "zztop.nucleusys.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On August 31, 2016 5:23:05 PM GMT+03:00, Tejun Heo wrote: >On Tue, Aug 30, 2016 at 10:02:47PM +0530, Bhaktipriya Shridhar wrote: >> The workqueue "pegasus_workqueue" queues a single work item per >pegasus >> instance and hence it doesn't require execution ordering. Hence, >> alloc_workqueue has been used to replace the deprecated >> create_singlethread_workqueue instance. >> >> The WQ_MEM_RECLAIM flag has been set to ensure forward progress under >> memory pressure since it's a network driver. >> >> Since there are fixed number of work items, explicit concurrency >> limit is unnecessary here. >> >> Signed-off-by: Bhaktipriya Shridhar > >Acked-by: Tejun Heo > >Thanks. [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On August 31, 2016 5:23:05 PM GMT+03:00, Tejun Heo wrote: >On Tue, Aug 30, 2016 at 10:02:47PM +0530, Bhaktipriya Shridhar wrote: >> The workqueue "pegasus_workqueue" queues a single work item per >pegasus >> instance and hence it doesn't require execution ordering. Hence, >> alloc_workqueue has been used to replace the deprecated >> create_singlethread_workqueue instance. >> >> The WQ_MEM_RECLAIM flag has been set to ensure forward progress under >> memory pressure since it's a network driver. >> >> Since there are fixed number of work items, explicit concurrency >> limit is unnecessary here. >> >> Signed-off-by: Bhaktipriya Shridhar > >Acked-by: Tejun Heo > >Thanks. Acked-by: Petko Manolov cheers, Petko