dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/s390/pci
Heiko Carstens 420f42ecf4 s390/irq: remove split irq fields from /proc/stat
Now that irq sum accounting for /proc/stat's "intr" line works again we
have the oddity that the sum field (first field) contains only the sum
of the second (external irqs) and third field (I/O interrupts).
The reason for that is that these two fields are already sums of all other
fields. So if we would sum up everything we would count every interrupt
twice.
This is broken since the split interrupt accounting was merged two years
ago: 052ff461c8 "[S390] irq: have detailed
statistics for interrupt types".
To fix this remove the split interrupt fields from /proc/stat's "intr"
line again and only have them in /proc/interrupts.

This restores the old behaviour, seems to be the only sane fix and mimics
a behaviour from other architectures where /proc/interrupts also contains
more than /proc/stat's "intr" line does.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-01-08 10:57:07 +01:00
..
Makefile s390/pci: performance statistics and debug infrastructure 2012-12-14 10:01:17 +01:00
pci.c s390/irq: remove split irq fields from /proc/stat 2013-01-08 10:57:07 +01:00
pci_clp.c s390/pci: performance statistics and debug infrastructure 2012-12-14 10:01:17 +01:00
pci_debug.c s390/pci: performance statistics and debug infrastructure 2012-12-14 10:01:17 +01:00
pci_dma.c s390/pci: remove dead code 2013-01-08 10:57:04 +01:00
pci_event.c s390/pci: performance statistics and debug infrastructure 2012-12-14 10:01:17 +01:00
pci_msi.c s390/pci: PCI adapter interrupts for MSI/MSI-X 2012-11-30 17:47:21 +01:00
pci_sysfs.c s390/pci: s390 specific PCI sysfs attributes 2012-11-30 17:47:26 +01:00