bug-hurd
[Top][All Lists]
Advanced

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

Re: irq handling in DDE Linux26


From: Samuel Thibault
Subject: Re: irq handling in DDE Linux26
Date: Fri, 7 May 2010 10:31:51 +0200
User-agent: Mutt/1.5.12-2006-07-14

Hello,

Da Zheng, le Fri 07 May 2010 00:53:20 +0800, a écrit :
> In ne2k-pci, an example in DDE Linux26, when a packet is transmitted by the
> driver, disable_irq_nosync_lockdep_irqsave() is called to disable irq. Then it
> triggers a send and calls enable_irq_lockdep_irqrestore().

> Should the interrupt handler delays interrupts instead of ignoring
> them silently when the interrupt line is disabled?

See __enable_irq in the linux source code:

                check_irq_resend(desc, irq);

which re-sends the irq if it has been set to pending while it was
disabled.

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]