Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261736AbVE0OAi (ORCPT ); Fri, 27 May 2005 10:00:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261449AbVE0OAi (ORCPT ); Fri, 27 May 2005 10:00:38 -0400 Received: from ns.suse.de ([195.135.220.2]:36742 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S261736AbVE0N5A (ORCPT ); Fri, 27 May 2005 09:57:00 -0400 Date: Fri, 27 May 2005 15:56:44 +0200 Message-ID: From: Takashi Iwai To: Andi Kleen Cc: Ingo Molnar , Sven-Thorsten Dietrich , dwalker@mvista.com, bhuey@lnxw.com, nickpiggin@yahoo.com.au, hch@infradead.org, akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: RT patch acceptance In-Reply-To: <20050527133122.GF86087@muc.de> References: <20050524192029.2ef75b89.akpm@osdl.org> <20050525063306.GC5164@elte.hu> <1117044019.5840.32.camel@sdietrich-xp.vilm.net> <20050526193230.GY86087@muc.de> <20050526200424.GA27162@elte.hu> <20050527123529.GD86087@muc.de> <20050527124837.GA7253@elte.hu> <20050527125630.GE86087@muc.de> <20050527131317.GA11071@elte.hu> <20050527133122.GF86087@muc.de> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 15) (Security Through Obscurity) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1602 Lines: 39 At 27 May 2005 15:31:22 +0200, Andi Kleen wrote: > > On Fri, May 27, 2005 at 03:13:17PM +0200, Ingo Molnar wrote: > > > > > > but it's certainly not for free. Just like there's no zero-cost > > > > virtualization, or there's no zero-cost nanokernel approach either, > > > > there's no zero-cost single-kernel-image deterministic system either. > > > > > > > > and the argument about binary kernels - that's a choice up to vendors > > > > > > It is not only binary distribution kernels. I always use my own self > > > compiled kernels, but I certainly would not want a special kernel just > > > to do something normal that requires good latency (like sound use). > > > > for good sound you'll at least need PREEMPT_VOLUNTARY. You'll need > > CONFIG_PREEMPT for certain workloads or pro-audio use. > > AFAIK the kernel has quite regressed recently, but that was not true > (for reasonable sound) at least for some earlier 2.6 kernels and > some of the low latency patchkit 2.4 kernels. > > So it is certainly possible to do it without preemption. Yes, as Ingo stated many times, addition cond_resched() to might_sleep() does achieve the "usable" latencies -- and obviously that's hacky. So, the only question is whether changing (inserting) cond_resched() to all points would be acceptable even if it results in a big amount of changes... 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/