Re: [patch] voluntary-preempt-2.6.8-rc2-L2, preemptable hardirqs

From: Lee Revell
Date: Tue Jul 27 2004 - 18:32:48 EST


On Tue, 2004-07-27 at 12:27, Ingo Molnar wrote:
> i've uploaded -L2:
>
> http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.8-rc2-L2
>

Much better. With 2:1 Bonnie produced a single XRUN:

ALSA /home/rlrevell/cvs/alsa/alsa-driver/alsa-kernel/core/pcm_lib.c:139: XRUN: pcmC0D2c
[<c01066a7>] dump_stack+0x17/0x20
[<de93654b>] snd_pcm_period_elapsed+0x27b/0x3e0 [snd_pcm]
[<de956211>] snd_emu10k1_interrupt+0xd1/0x3c0 [snd_emu10k1]
[<c01078c8>] handle_IRQ_event+0x38/0x80
[<c0107e5d>] do_IRQ+0xbd/0x1a0
[<c0106268>] common_interrupt+0x18/0x20
[<c01413ef>] filemap_sync_pte_range+0x9f/0xc0
[<c01414a0>] filemap_sync+0x90/0x110
[<c014156b>] msync_interval+0x4b/0xe0
[<c0141724>] sys_msync+0x124/0x136
[<c0106047>] syscall_call+0x7/0xb

And the mlockall/mmap2 problem is not completely solved. Starting a
jackd while another is running still produces XRUNs:

ALSA /home/rlrevell/cvs/alsa/alsa-driver/alsa-kernel/core/pcm_lib.c:139: XRUN: pcmC0D0p
[<c01066a7>] dump_stack+0x17/0x20
[<de93654b>] snd_pcm_period_elapsed+0x27b/0x3e0 [snd_pcm]
[<de956477>] snd_emu10k1_interrupt+0x337/0x3c0 [snd_emu10k1]
[<c01078c8>] handle_IRQ_event+0x38/0x80
[<c0107e5d>] do_IRQ+0xbd/0x1a0
[<c0106268>] common_interrupt+0x18/0x20
[<c013d89e>] do_no_page+0x4e/0x310
[<c013dd21>] handle_mm_fault+0xc1/0x170
[<c013c712>] get_user_pages+0x102/0x370
[<c013de68>] make_pages_present+0x68/0x90
[<c013f5d6>] do_mmap_pgoff+0x3e6/0x620
[<c010be66>] sys_mmap2+0x76/0xb0
[<c0106047>] syscall_call+0x7/0xb
ALSA /home/rlrevell/cvs/alsa/alsa-driver/alsa-kernel/core/pcm_lib.c:139: XRUN: pcmC0D0p
[<c01066a7>] dump_stack+0x17/0x20
[<de93654b>] snd_pcm_period_elapsed+0x27b/0x3e0 [snd_pcm]
[<de956477>] snd_emu10k1_interrupt+0x337/0x3c0 [snd_emu10k1]
[<c01078c8>] handle_IRQ_event+0x38/0x80
[<c0107e5d>] do_IRQ+0xbd/0x1a0
[<c0106268>] common_interrupt+0x18/0x20
[<c013de68>] make_pages_present+0x68/0x90
[<c013e2bd>] mlock_fixup+0x8d/0xb0
[<c013e5a0>] do_mlockall+0x70/0x90
[<c013e659>] sys_mlockall+0x99/0xa0
[<c0106047>] syscall_call+0x7/0xb

Works great otherwise.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/