disable irq in Linux

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

 



Hello,

I have some questions about disable_irq_nosync. disable_irq_nosync set status
IRQ_DISABLED and on the x86 platform calls disable_8259A_irq to mask the
corresponding interrupt line. Now the qeustions are
1. on SMP, does disable_8259A_irq only mask the interrupt line in the local CPU?
If it does, does it make sure to do so?
2. when the interrupt line is masked, there is an interrupt. It's certain that
the interrupt cannot be delivered at the moment that the line is masked. but
will the interrupt be delivered after the interrupt line is unmasked or it is
simply ignored?

Maybe the questions are more related to the x86 architecture instead of Linux,
but I couldn't find answers myself.

Best regards,
Zheng Da

--
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