lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070806103609.GA17495@elte.hu>
Date:	Mon, 6 Aug 2007 12:36:09 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Paul Mundt <lethal@...ux-sh.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH] genirq: support multiple interrupt priorities


* Paul Mundt <lethal@...ux-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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ