From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754095Ab1FOIXM (ORCPT ); Wed, 15 Jun 2011 04:23:12 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:61072 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752321Ab1FOIXG (ORCPT ); Wed, 15 Jun 2011 04:23:06 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=x2medRRFHq4hp9yLFKESbQWtbRYWWwRRi1g2qEpu4TNkNcN14Xlh4D/5qoG1zWzuVE cCxq207GxxLkhfW2/wvzQXOF2zTaTlUII/UD1cupqn59/4Xxn9Y8eHqMOAqKz8vWyucA 7I16+MD05j//9bUadFAkPh5VIpA6t2H9MAZzE= Date: Wed, 15 Jun 2011 10:23:01 +0200 From: Tejun Heo To: =?iso-8859-1?Q?P=E9ter?= Ujfalusi Cc: Dmitry Torokhov , "Girdwood, Liam" , Tony Lindgren , Mark Brown , Samuel Ortiz , "linux-input@vger.kernel.org" , "linux-omap@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "alsa-devel@alsa-project.org" , "Lopez Cruz, Misael" Subject: Re: Re: Re: Re: Re: [PATCH v4 11/18] input: Add initial support for TWL6040 vibrator Message-ID: <20110615082301.GN8141@htj.dyndns.org> References: <1307706876-4768-1-git-send-email-peter.ujfalusi@ti.com> <4476185.bf2jyafmHt@barack> <20110614081836.GG8141@htj.dyndns.org> <100646074.zaKeYdXKr4@barack> <20110615081858.GM8141@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110615081858.GM8141@htj.dyndns.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 15, 2011 at 10:18:58AM +0200, Tejun Heo wrote: > No human being can feel 120usec difference and I can't see how using > HIGHPRI is justified here (which is what the code is doing > _accidentally_ by using singlethread_workqueue). Ooh, one more thing, and even if you insist on using HIGHPRI (please don't), you don't need to create workqueue for each device. You can just create one for the whole driver in init and destroy it from exit. What matters is the HIGHPRI attribute of the workqueue. The number of workqueues is completely irrelevant. Thank you. -- tejun