linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Doubt in interrupts
@ 2001-07-02 17:41 Swami
  2001-07-02 18:20 ` Brian Gerst
  0 siblings, 1 reply; 2+ messages in thread
From: Swami @ 2001-07-02 17:41 UTC (permalink / raw)
  To: linux-kernel


Hi,

Are there any interrupts which doesn't affect local_irq_count(cpu) or that
doesn't enter do_IRQ()? (other than NMIs).

Because I'm implementing my own locking routine and I'm getting
interrupted during spin, but I check and found that in_interupt() returns
zero.


Thanking in advance,

Swami

--------------------------
http://www.swaminathans.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Doubt in interrupts
  2001-07-02 17:41 Doubt in interrupts Swami
@ 2001-07-02 18:20 ` Brian Gerst
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gerst @ 2001-07-02 18:20 UTC (permalink / raw)
  To: Swami; +Cc: linux-kernel

Swami wrote:
> 
> Hi,
> 
> Are there any interrupts which doesn't affect local_irq_count(cpu) or that
> doesn't enter do_IRQ()? (other than NMIs).
> 
> Because I'm implementing my own locking routine and I'm getting
> interrupted during spin, but I check and found that in_interupt() returns
> zero.

All hardware interrupts go through do_IRQ.  There are also CPU
exceptions and inter-processor interupts (SMP only) that have individual
handlers.

--

				Brian Gerst

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-02 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-02 17:41 Doubt in interrupts Swami
2001-07-02 18:20 ` Brian Gerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).