[linux-audio-dev] Re: [announce] [patch] Voluntary Kernel Preemption Patch
Andrew Morton
akpm at osdl.org
Thu Sep 2 22:20:46 UTC 2004
Andrea Arcangeli <andrea at suse.de> wrote:
>
> if you're scared that there are too many cond_resched (I'm not scared
> and people should enable them anyways if they make a difference, they
> still should be less than the number of spin_unlocks with preempt
> enabled), then you should add a cond_resched_costly and add a config
> option that turns it off.
None of these approaches improves worst-case latency at all on SMP. If
we're not going to address the SMP problem we could just make it UP-only,
in which case increased locking costs are a non-issue.
I'd prefer that we find a solution for SMP too though.
More information about the Linux-audio-dev
mailing list