Re: [alsa-devel] Re: Scheduling latencies news: less RAM = less

Andrea Arcangeli (andrea@suse.de)
Sun, 1 Aug 1999 17:10:32 +0200 (CEST)


On Sun, 1 Aug 1999, Christopher T. Lansdown wrote:

>> Pre-emptable kernels are stupid, and anybody who thinks otherwise needs
>> to get his head examined.

IMO the problem with a pre-emptable kernel is that you'll increase of an
order of magnitude the possibility of races in the code. And it's not
clear to me what to do in critical section where you can't preempt a
process without risk of deadlocking (maybe because you are holding a
spinlock). If you take irq disabled while holding all spinlocks you'll be
safe of course but you'll increase irq latency...

Andrea

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