Re: local_irq_save()

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

 



On Fri, 20 Apr 2007, pradeep singh wrote:

> On 4/20/07, Christian Boon <c.boon@xxxxxxxxxxxxxxxxxxxx> wrote:
> > When i use this function to disable interrupts, does this mean that when
> > an interrupt occurs
> > when interrupts are disabled, for example from the ethernet chip, this
> > interrupt is lost or does it mean
> > that the interrupt isnt serviced at the moment but serviced when
> > interrupts are enabled again?
> the interrupt is lost, if it maskable and not unmaskable interrupts
> IMHO.Because local_irq_save() macro inturn makes use of cli assembly
> instruction.

This cannot be true. Lost interrupts are bad, and you'd get them all the 
time, so, nothing would work.

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany

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