From: Ingo Molnar <mingo@elte.hu>
To: Paul Mundt <lethal@linux-sh.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC][PATCH] genirq: support multiple interrupt priorities
Date: Mon, 6 Aug 2007 12:36:09 +0200 [thread overview]
Message-ID: <20070806103609.GA17495@elte.hu> (raw)
In-Reply-To: <20070806103027.GA4624@linux-sh.org>
* Paul Mundt <lethal@linux-sh.org> wrote:
> This is a simple patch for adding trivial interrupt priority support.
>
> I've added a ->set_prio() to the irq_chip which is implemented
> effectively the same way as ->set_type(), it's an optional component
> for those that really care about it.
i have no fundamental objections but it would be nice to actually
prototype this by implementing real priority support in the hardware:
both the i8259A and the IO-APIC/local-apic has such IRQ prioritization
features.
> + * IRQF_PRIO_HIGH - Give IRQ a high priority
> + * IRQF_PRIO_LOW - Give IRQ a low priority
this should be a numeric scale. (Preferably in the 1-99 range (the
hardware can then do a lower-resolution thing out of it), so that we can
directly map this to IRQ threads and SCHED_FIFO priorities in -rt.)
Ingo
next prev parent reply other threads:[~2007-08-06 10:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 10:30 [RFC][PATCH] genirq: support multiple interrupt priorities Paul Mundt
2007-08-06 10:36 ` Ingo Molnar [this message]
2007-08-06 10:46 ` Paul Mundt
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=20070806103609.GA17495@elte.hu \
--to=mingo@elte.hu \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.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