local_irq_save() and lost interrupts.

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

 



Hi all,

When some kernel context disables interrupts in a CPU core (which maybe
the only core in non-SMP), how does the kernel take care of lost interrupts ?

Reading the local_irq_save() code to try to understand, it just saves the 
%eflags reg, no more no less:

(old kernel version to avoid paravirtualization complexities):
#define local_irq_save(x)	\
__asm__ __volatile__("pushfl ; popl %0 ; cli":"=g" (x): :"memory")

Do devices reemit interrupts if first ones was ignored ?.

Thanks,

-- 
Ahmed S. Darwish
http://darwish.07.googlepages.com


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux