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: Da Zheng
Subject: Re: irq handling in DDE Linux26
Date: Fri, 07 May 2010 11:05:30 +0800
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

On 10-5-7 上午7:51, olafBuddenhagen@gmx.net wrote:
> Hi,
> 
> On Fri, May 07, 2010 at 12:53:20AM +0800, Da Zheng wrote:
> 
>> disable_irq_nosync_lockdep_irqsave is exactly the same as
>> disable_irq_nosync when there isn't CONFIG_LOCKDEP. It seems to me
>> that ne2k-pci shouldn't call it in the first place when transmitting
>> packets, but Linux drivers should be correct. Then what goes wrong?
>> Should the interrupt handler delays interrupts instead of ignoring
>> them silently when the interrupt line is disabled?
> 
> Not really an answer to your question -- but maybe you could try running
> a Linux image with this driver in the same VM, so you could compare how
> the driver behaves in its "native" environment?...
It's difficult to observe the behavior of interrupt handling. It depends on how
it is scheduled.

One thing I'm not sure of is whether the interrupt is completely ignored or is
delayed to be delivered when a interrupt line is masked with IMR. If the
interrupt is ignored, aren't many interrupts lost?

Zheng Da




reply via email to

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