From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932395AbcHOWxg (ORCPT ); Mon, 15 Aug 2016 18:53:36 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:36256 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796AbcHOWxf (ORCPT ); Mon, 15 Aug 2016 18:53:35 -0400 Date: Mon, 15 Aug 2016 18:53:33 -0400 From: Tejun Heo To: Bhaktipriya Shridhar Cc: Dmitry Torokhov , Hans de Goede , Pali =?iso-8859-1?Q?Roh=E1r?= , Chris Diamand , Stefan Assmann , Richard Pospesel , Lars-Peter Clausen , Takashi Iwai , patches@opensource.wolfsonmicro.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] Input: wm97xx: Remove deprecated create_singletheread_workqueue Message-ID: <20160815225333.GB3672@mtj.duckdns.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 14, 2016 at 10:56:38AM +0530, Bhaktipriya Shridhar wrote: > alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces > deprecated create_singlethread_workqueue(). This is the identity > conversion. The workqueue "ts_workq" has been identity converted. > > It queues work items viz &wm->ts_reader and &wm->pen_event_work which map > to wm97xx_pen_irq_worker (handles a pen down interrupt) and > wm97xx_ts_reader (the touchscreen sample reader) respectively. Hence, > an ordered dedicated workqueue has been used. > > WQ_MEM_RECLAIM has been set to ensure forward progress under memory > pressure. I'm not sure WQ_MEM_RECLAIM makes sense on an input driver. Thanks. -- tejun