Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757421AbXFZNQ1 (ORCPT ); Tue, 26 Jun 2007 09:16:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752920AbXFZNQU (ORCPT ); Tue, 26 Jun 2007 09:16:20 -0400 Received: from ns2.suse.de ([195.135.220.15]:45539 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752271AbXFZNQT (ORCPT ); Tue, 26 Jun 2007 09:16:19 -0400 Date: Tue, 26 Jun 2007 15:15:29 +0200 Message-ID: From: Takashi Iwai To: Clemens Ladisch Cc: Ingo Molnar , Linus Torvalds , Steven Rostedt , LKML , Andrew Morton , Thomas Gleixner , Christoph Hellwig , john stultz , Oleg Nesterov , "Paul E. McKenney" , Dipankar Sarma , "David S. Miller" , matthew.wilcox@hp.com, kuznet@ms2.inr.ac.ru Subject: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues In-Reply-To: <20070626150323.anz74r8q8s408s4o@webmail.df.eu> References: <20070626150323.anz74r8q8s408s4o@webmail.df.eu> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta27) (fiddleheads) (+CVS-20060704) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 25 At Tue, 26 Jun 2007 15:03:23 +0200, Clemens Ladisch wrote: > > Ingo Molnar wrote: > > so how about the following, different approach: anyone who has a tasklet > > in any performance-sensitive codepath, please yell now. > > ALSA uses quite a few tasklets in the framework and in several > drivers. Since we > care very much about low latency, many places use tasklet_hi_*. I think we can replace from tasklet to workqueue in many card-driver codes, at least. Many of them use tasklet simply because there was no workq at that time. It's the correct move for such drivers. But, yes, the code using tasklet in the core part (especially in the timer part) requires as low latency as possible. Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/