Re: [OT] ALSA userspace API complexity

Marcin Dalecki
2006-01-10T20:13:31Z

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