[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interrupt Handling Doubts ....



On Fri, Sep 10, 2004 at 01:47:44PM +0200, Clemens Buchacher wrote:
> > -          In handle_IRQ_event() function
> > (http://lxr.linux.no/source/arch/i386/kernel/irq.c?v=2.4.21#L437),
> > before calling the actual interrupt handler why are we checking the flag
> > of only first handler in list.
> 
> Good point. I guess that's a bug then.

OTOH, using both SA_INTERRUPT _and_ SA_SHIRQ is a bug anyhow, because
the interrupt handler cannot guarantee to be fast any more if an
arbitrary number of interrupt handlers can be run. The kernel could
issue a warning though...

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/