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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 7 Sep 2006 15:51:05 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Andrew Morton <akpm@...l.org>
Cc:	"Rafael J. Wysocki" <rjw@...k.pl>,
	LKML <linux-kernel@...r.kernel.org>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: 2.6.18-rc5-mm1: strange /proc/interrupts contents on HPC nx6325


* Andrew Morton <akpm@...l.org> wrote:

> This is due to a gruesome hack (IMO) in the genirq code 
> (handle_irq_name()) which magically "knows" about the various types of 
> IRQ handler, but doesn't know about the MSI ones.  It should be 
> converted to a field in irq_desc, or a callback or something.

a field in irq_desc[] was frowned upon during initial genirq review, due 
to size reasons, so i removed it and replaced it with the hack.

> I already had a whine about this then forgot about it, but it seems that
> code can't be changed by whining at it ;)

;)

i think we could add a 'register handler name' API (or extend 
set_irq_handler() API), to pass in the name of handlers, and store it in 
a small array (instead of embedding it in irq_desc)? handle_irq_name() 
is not performance-critical.

	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