Hi On Sat, Feb 7, 2009 at 7:22 PM, Shyam Burkule <shyam.burkule@xxxxxxxxx> wrote: > Hi, > One question about Interrupt, > > I read in blog http://lkdp.blogspot.com/ that " When an interrupts are being > masked, they are not lost, rather PIC remembers those and do send the > interrupt to CPU when CPU unmasks that interrupt line." > But in book I read that "If the kernel allows itself too much time to > process an ISR when interrupts are disabled, it can (and will) happen that > interrupts are lost." > > My question is that when we mask the interrupt, do they lost or do they get > send to processor when they unmasked back?? Here's my understanding: when the masked interrupt line being unmasked, interrupts are fired again. Thus, ISRs are called and then bottom halves. If we spent too much time in ISRs, logically we prevent the CPU that runs the ISR to serve another interrupt, because when running an ISR automatically interrupt line is masked. Furthermore, if this kind of situation happens again and again, you can imagine that "ripple effect" will happen sooner and later: interrupt is serviced later, another interrupt is deferred...probably two or three...then while serving the 2nd one, one more are pending..and so on. regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ