Hi Pradeep,
> > If you disable an interrupt across all CPUs using disable_irq(), then > the IRQ is disabled at the PCI level. And hence if the hardware tries > to generate > an interrupt while interrupts are disabled, the interrupt is lost forever. I guess you mean local_disable_irq()? I cannot find a single invocation of disable_irq() in my src. As i see it, it would be stupid to disable interrupts on all the CPUs.What can be possible use of such a futile thing?
No, I meant disable_irq(), that disables the particular interrupt at PIC level and hence disables it on all processors. My linux 2.6.19.2 contains plenty of these calls. This may be used by interrupt code to handle SA_INTERRUPT (which states that this IRQ should be disabled on all the CPUs). Thanks, Rajat -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ