Re: [OT] ALSA userspace API complexity

From: Marcin Dalecki
Date: Tue Jan 10 2006 - 15:12:59 EST



On 2006-01-10, at 15:08, Jaroslav Kysela wrote:

On Tue, 10 Jan 2006, Hannu Savolainen wrote:

On Tue, 10 Jan 2006, Jaroslav Kysela wrote:

Overloading interrupt handlers with extra things is evil (and I bet you're
mixing samples in the interrupt handler). Even the network stack uses
interrupts only for DMA management and not for any extra operations.
You mean it's evil because nobody else is doing it? Then it must be
evil or rather voodoo.

No, I mean that it's quite obvious bad design, because you might increase
interrupt latencies for other drivers.

"Becasue you might" is a bad argument. Either you do or you don't. My guess is that you don't
becase the amount of data to be handled is absymally small. (Come one 48kBaud is not much...)
And BTW. good luck trying to convince the /dev/random gang that it isn't good for performance
what they are doing on the IRQ path...


Marcin Dalecki


-
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/