Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263407AbUJ2RTJ (ORCPT ); Fri, 29 Oct 2004 13:19:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263363AbUJ2RSx (ORCPT ); Fri, 29 Oct 2004 13:18:53 -0400 Received: from mx1.elte.hu ([157.181.1.137]:17085 "EHLO mx1.elte.hu") by vger.kernel.org with ESMTP id S263419AbUJ2RIo (ORCPT ); Fri, 29 Oct 2004 13:08:44 -0400 Date: Fri, 29 Oct 2004 19:09:48 +0200 From: Ingo Molnar To: Florian Schmidt Cc: Paul Davis , Thomas Gleixner , LKML , Lee Revell , mark_h_johnson@raytheon.com, Bill Huey , Adam Heath , 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: <20041029170948.GA13727@elte.hu> References: <20041029090957.GA1460@elte.hu> <200410291101.i9TB1uhp002490@localhost.localdomain> <20041029111408.GA28259@elte.hu> <20041029161433.GA6717@elte.hu> <20041029183256.564897b2@mango.fruits.de> <20041029162316.GA7743@elte.hu> <20041029163155.GA9005@elte.hu> <20041029191652.1e480e2d@mango.fruits.de> <20041029170237.GA12374@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041029170237.GA12374@elte.hu> 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: 1318 Lines: 32 * Ingo Molnar wrote: > > > let me try some more hacks to make this a little bit safer. > > > > hehe, it even booted for me [kinda]. will build the one where you got > > xmms to run. but i will sure as hell hit "get new emails" during the > > build more than once ;) > > indeed - i'm preparing 5.0.12 with a better way to do this. (the trick > is to allow the BKL to 'underflow' - this way ALSA can be kept largely > unmodified.) ok, i've uploaded -V0.5.12 which has this BKL trick. I hope i got the ALSA ioctls right: the ones that go outside the BKL for now are the pcm_native playback/capture ones, and rawmidi's ioctl. All the others are still BKL users. To recap, it's these ioctls that matter: 5971 ioctl(7, 0x4143, 0x446b7d3c) = 0 5971 ioctl(7, 0x4140, 0x446b7d3c) = 0 5971 ioctl(7, 0x4142, 0x446b7d3c) = 0 which ones are these? Look at the patch for how to change a .ioctl one to .ioctl_nobkl (lame solution ...). So if your setup uses any other ioctl (sndctl perhaps?) then you should change that one to nobkl too. 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/