From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753014AbcHOI4j (ORCPT ); Mon, 15 Aug 2016 04:56:39 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:51281 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752359AbcHOI4h (ORCPT ); Mon, 15 Aug 2016 04:56:37 -0400 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.wolfsonmicro.com Date: Mon, 15 Aug 2016 09:53:42 +0100 From: Charles Keepax 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 , Tejun Heo , , , Subject: Re: [PATCH 3/3] Input: wm97xx: Remove deprecated create_singletheread_workqueue Message-ID: <20160815085342.GJ21682@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608150106 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. > > Signed-off-by: Bhaktipriya Shridhar > --- Acked-by: Charles Keepax Thanks, Charles