Messages in this thread | | | Date | Wed, 8 Mar 2000 00:12:10 +0100 | From | Pavel Machek <> | Subject | Re: PATCH: /proc/irq/ fix |
| |
Hi!
> > Here is a patch to avoid multiple same entries in /proc/irq/ and shows > > only the active interrupts. Although I'm not sure about the test > > against no_irq_type, Ingo, do you want to show all possible interrupts > > in /proc/irq/? Then the patch would be a bit smaller and only the > > register_irq_proc() needs to removed from request_irq() (and one test > > against no_irq_type is sufficient). > > i believe we want to show all possible interrupts. (not all IRQ vectors, > but all IRQs which are registered by an IRQ controller) The possibility to > set IRQ affinity should not depend on wether a particular module is loaded > or not.
...and btw it is nice to see if some activity happened on some "unused" irq line: (If you are changing this, making it output unused but active interrupts might be nice, too...)
pavel@bug:~$ cat /proc/interrupts CPU0 0: 2943640 XT-PIC timer 1: 56843 XT-PIC keyboard 2: 0 XT-PIC cascade 4: 5 XT-PIC 5: 4 XT-PIC pcnet_cs 6: 3 XT-PIC 7: 4 XT-PIC 10: 3 XT-PIC 11: 3149983 XT-PIC usb-uhci, ESS Maestro 2E 12: 170 XT-PIC PS/2 Mouse 13: 1 XT-PIC fpu 14: 10766 XT-PIC ide0 15: 5 XT-PIC ide1 NMI: 0 ERR: 0
-- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org
- 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/
| |