Re: [PATCH] Fix shared interrupt handling of SA_INTERRUPT andSA_SAMPLE_RANDOM

From: Andrew Morton
Date: Tue Aug 24 2004 - 22:48:54 EST


Takashi Iwai <tiwai@xxxxxxx> wrote:
>
> while the recent investation of latency issues, Thomas Charbonne
> suggested that there is a long-standing bug in the irq handler.
> When the irq is shared, SA_INTERRUPT flag is checked only for the
> first registered handler. When it's without SA_INTERRUPT, always
> local_irq_enable() is called even if the second or later handler has
> SA_INTERRUPT.

That's because SA_INTERRUPT interrupts shouldn't be shared. The grey cell
which remembered why this is so seems to have died, but I've put the email
thread here: http://www.zip.com.au/~akpm/linux/patches/stuff/x.txt
-
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/