Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263333AbUJ2OOc (ORCPT ); Fri, 29 Oct 2004 10:14:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263336AbUJ2OOc (ORCPT ); Fri, 29 Oct 2004 10:14:32 -0400 Received: from mx2.elte.hu ([157.181.151.9]:21919 "EHLO mx2.elte.hu") by vger.kernel.org with ESMTP id S263333AbUJ2OOT (ORCPT ); Fri, 29 Oct 2004 10:14:19 -0400 Date: Fri, 29 Oct 2004 16:15:05 +0200 From: Ingo Molnar To: Paul Davis Cc: Thomas Gleixner , LKML , Lee Revell , mark_h_johnson@raytheon.com, Bill Huey , Adam Heath , Florian Schmidt , Michal Schmidt , Fernando Pablo Lopez-Lezcano , Karsten Wiese , jackit-devel , Rui Nuno Capela Subject: Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4] Message-ID: <20041029141505.GA25204@elte.hu> References: <20041029135530.GA22463@elte.hu> <200410291403.i9TE3jq3006445@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200410291403.i9TE3jq3006445@localhost.localdomain> User-Agent: Mutt/1.4.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 955 Lines: 23 * Paul Davis wrote: > >> if (poll (driver->pfd, nfds, driver->poll_timeout) < 0) { > > > >in Rui's test (9 fluidsynth instances running), what would be the value > >of nfds - 9 or 1? I.e. is the '9 streams' abstraction provided by jackd, > >and you map it to a single alsa driver fd over which you poll, or is > >each stream a separate fd? > > for almost all audio interfaces, there is one fd per hardware device. > so whether its a 26 channel device or a simple stereo device, there is > one fd. jackd will be polling a single fd in that call under almost > all circumstances, and certainly those used in rui's testing. great - this certainly simplifies the scenario. Ingo - 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/