[linux-audio-dev] Re: lowish-latency patch for 2.4.0-test9

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] Re: lowish-latency patch for 2.4.0-test9
From: Andi Kleen (ak_AT_suse.de)
Date: Tue Oct 10 2000 - 16:34:25 EEST


On Wed, Oct 11, 2000 at 12:20:16AM +1100, Andrew Morton wrote:
> b): disabling local interrupts prior to the final need_resched
> check to make this test atomic wrt interrupts. RESTORE_ALL
> will do the right thing and an intervening smp_send_reschedule()
> will be blocked until the return to user space.
>
> Seems too simple...

I think with that a

main() { for(;;) getpid(); }

program could kill a lot of your interrupt latency.

-Andi


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Oct 10 2000 - 17:00:52 EEST