mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: yodaiken@chelm.cs.nmt.edu
Cc: Roman Zippel <zippel@fh-brandenburg.de>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	"David S. Miller" <davem@redhat.com>,
	Jes.Sorensen@cern.ch, linux-kernel@vger.rutgers.edu,
	Stephen Tweedie <sct@redhat.com>
Subject: Re: linux interrupt handling problem
Date: Thu, 11 Nov 1999 12:19:51 +0000 (GMT)	[thread overview]
Message-ID: <14378.46183.729723.903734@dukat.scot.redhat.com> (raw)
In-Reply-To: <19991110085430.A3482@chelm.cs.nmt.edu>

Hi,

On Wed, 10 Nov 1999 08:54:30 -0700, yodaiken@chelm.cs.nmt.edu said:

> On Wed, Nov 10, 1999 at 11:30:53AM +0100, Roman Zippel wrote:
>> That's a problem I would like to address later, since it's a perfomance
>> only problem, where the sti() stuff is also a portability problem.

> Any measurements to show that this is a real problem? My intuition
> is that the simple Linux model has enormous advantages over
> more complex schemes. 

There was a Usenix paper a couple of years ago:

    http://www.usenix.org/publications/library/proceedings/ana97/small.html

at which they did an evaluation of the normal splx() mechanism in NetBSD
with a simplified, Linux-like mechanism.  The simpler one won
hands-down.  They did note that spl made sense on older machines where
interrupt routines were, relatively, much longer due to the slower clock
speeds, but concluded that it didn't make sense on modern, fast CPUs.

Their proposal in the end is to protect kernel critical sections with
cli/sti, but to keep interrupts enabled during IRQs and rely on the PIC
to keep the interrupt line disabled during the ISR.  Odd, that looks
familiar, doesn't it?  :-)

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

           reply	other threads:[~1999-11-11 12:20 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <19991110085430.A3482@chelm.cs.nmt.edu>]

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=14378.46183.729723.903734@dukat.scot.redhat.com \
    --to=sct@redhat.com \
    --cc=Jes.Sorensen@cern.ch \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=yodaiken@chelm.cs.nmt.edu \
    --cc=zippel@fh-brandenburg.de \
    /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®