Re: [PATCH] create /proc/all-interrupts
From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2007-07-26 18:58:34
Also in:
lkml
Joe Korty wrote:
Create /proc/all-interrupts for some architectures. Create a version of /proc/interrupts that displays _every_ IRQ vector, not just those that someone thought might be interesting, and add an entry in the commentary column for those vectors which lacked such a comment. Rationale: /proc/interrupts is not truly useful unless it displays every IRQ vector, not just those somebody thought would be interesting. For example, since /proc/interrupts does not display the rescheduling interrupt, the occurance of rescheduling interrupt floods ends up affecting latencies, yet without an entry in /proc/interrupts, it is difficult to discern why latencies are being affected. Rather than modify /proc/interrupts, this patch creates a new version of /proc/interrupts, on the off-chance that adding new lines to /proc/interrupts, and appending new fields to the end of old lines, might break some longstanding script. However, these kinds of changes traditionally do not affect scripts, so it might be reasonable to fold /proc/all-interrupts back into /proc/interrupts.
I think that would be the right thing to do. We have added things to /proc/interrupts in the past. -hpa