From: Ion Badulescu <ionut@cs.columbia.edu>
To: Bart Trojanowski <bart@jukie.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Q: x86 interrupt arrival after cli
Date: Thu, 16 May 2002 11:55:00 -0400 [thread overview]
Message-ID: <200205161555.g4GFt0v05623@buggy.badula.org> (raw)
In-Reply-To: <20020515202720.D15996@jukie.net>
On Wed, 15 May 2002 20:27:20 -0400, Bart Trojanowski <bart@jukie.net> wrote:
> [-- text/plain, encoding quoted-printable, 14 lines --]
>
> Quick question for the x86 gurus:
>
> If a hardware interrupt arrives within a spin_lock_irqsave &
> spin_unlock_irqrestore will the interrupt handler associated with said
> interrupt be called immediately after the spinlock is released?
>
> I am interested in any delays, even those less then a jiffie.
The interrupt will occur when the instruction after the "sti" finishes.
That's a one assembler instruction delay, i.e. a few clock cycles.
*Which* interrupt will be serviced first, however, depends on how
many interrupt sources you have active and on the IRQ prioritization.
Ion
--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.
next prev parent reply other threads:[~2002-05-16 15:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-16 0:27 Bart Trojanowski
2002-05-16 13:32 ` Alan Cox
2002-05-16 13:39 ` Stephen Rothwell
2002-05-16 15:55 ` Ion Badulescu [this message]
2002-05-16 17:11 ` Richard B. Johnson
2002-05-17 17:57 ` Bill Davidsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200205161555.g4GFt0v05623@buggy.badula.org \
--to=ionut@cs.columbia.edu \
--cc=bart@jukie.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®