From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264692AbUGMJaq (ORCPT ); Tue, 13 Jul 2004 05:30:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264668AbUGMJ3N (ORCPT ); Tue, 13 Jul 2004 05:29:13 -0400 Received: from fw.osdl.org ([65.172.181.6]:19131 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264685AbUGMJ02 (ORCPT ); Tue, 13 Jul 2004 05:26:28 -0400 Date: Tue, 13 Jul 2004 02:25:01 -0700 From: Andrew Morton To: Takashi Iwai Cc: rlrevell@joe-job.com, linux-audio-dev@music.columbia.edu, mingo@elte.hu, arjanv@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [linux-audio-dev] Re: [announce] [patch] Voluntary Kernel Preemption Patch Message-Id: <20040713022501.5e41b1a2.akpm@osdl.org> In-Reply-To: References: <20040709182638.GA11310@elte.hu> <20040710222510.0593f4a4.akpm@osdl.org> <1089673014.10777.42.camel@mindpipe> <20040712163141.31ef1ad6.akpm@osdl.org> <1089677823.10777.64.camel@mindpipe> <20040712174639.38c7cf48.akpm@osdl.org> <1089687168.10777.126.camel@mindpipe> <20040712205917.47d1d58b.akpm@osdl.org> <1089707483.20381.33.camel@mindpipe> <20040713014316.2ce9181d.akpm@osdl.org> <1089708818.20381.36.camel@mindpipe> <20040713020025.7400c648.akpm@osdl.org> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Takashi Iwai wrote: > > t Tue, 13 Jul 2004 02:00:25 -0700, > Andrew Morton wrote: > > > > Lee Revell wrote: > > > > > > Here are some more. These result from using mplayer with ALSA OSS > > > emulation: > > > > > > Jul 13 04:31:49 mindpipe kernel: > > > Jul 13 04:31:49 mindpipe kernel: ALSA /usr/src/alsa-cvs-1.0.5/alsa-driver/alsa-kernel/core/pcm_lib.c:169: XRUN: pcmC0D0p > > > Jul 13 04:31:49 mindpipe kernel: [__crc_totalram_pages+1387264/5353478] snd_pcm_period_elapsed+0x2ca/0x410 [snd_pcm] > > > Jul 13 04:31:49 mindpipe kernel: [__crc_totalram_pages+1455070/5353478] snd_emu10k1_interrupt+0x3c8/0x480 [snd_emu10k1] > > > Jul 13 04:31:49 mindpipe kernel: [handle_IRQ_event+49/96] handle_IRQ_event+0x31/0x60 > > > Jul 13 04:31:49 mindpipe kernel: [do_IRQ+155/352] do_IRQ+0x9b/0x160 > > > Jul 13 04:31:49 mindpipe kernel: [common_interrupt+24/32] common_interrupt+0x18/0x20 > > > Jul 13 04:31:49 mindpipe kernel: [__crc_totalram_pages+1394929/5353478] snd_pcm_format_set_silence+0x4b/0x1d0 [snd_pcm] > > > Jul 13 04:31:49 mindpipe kernel: [__crc_totalram_pages+2165815/5353478] snd_pcm_oss_change_params+0x5a1/0x850 [snd_pcm_oss] > > > Jul 13 04:31:49 mindpipe kernel: [__crc_totalram_pages+2166620/5353478] snd_pcm_oss_get_active_substream+0x76/0x90 [snd_pcm_oss] > > > Jul 13 04:31:49 mindpipe kernel: [__crc_totalram_pages+2170556/5353478] snd_pcm_oss_get_formats+0x26/0x100 [snd_pcm_oss] > > > > Looks like those memcpys in snd_pcm_format_set_silence() are hurting. > > Hmm, but it's not in lock at least... It is - see chrdev_open(). You can do unlock_kernel()/lock_kernel() in soundcore_open().