mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Haifeng He" <hehaifeng2nd@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Load interrupt code dynamically
Date: Wed, 1 Aug 2007 01:03:04 +0100	[thread overview]
Message-ID: <20070801010304.757f4963@the-village.bc.nu> (raw)
In-Reply-To: <ab08258e0707311426r32dc15cexb6867648bc6a45a4@mail.gmail.com>

> dealing with the concurrency in the kernel. Interrupt is one of them.

Its extremely hard as you've probably noticed by now.

> My first question is, what are other interrupts in the kernel that can
> allow other interrupts
> to be issued? Second question is, how does the kernel switch between

The kernel IRQ handling is pretty flexible. A concious decision was made
many years ago not to try and limit it to do a pageable kernel as RAM was
far cheaper than the pain, and getting cheaper by the day.

> different interrupts? Last, any suggestion on how to change my current
> implementation to enable loading interrupt code dynamically?

Realistically - the one case it is done right now is by the mainframe
people, simply because the underlying hypervisor does it. You probably
have much more chance that way using a microkernel (real one not MACH)
underneath. Still a huge task.

  reply	other threads:[~2007-07-31 23:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 21:26 Haifeng He
2007-08-01  0:03 ` Alan Cox [this message]
2007-08-01 11:06   ` Andi Kleen

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=20070801010304.757f4963@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=hehaifeng2nd@gmail.com \
    --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®