"Randy.Dunlap" <rddunlap@osdl.org> wrote:
>
> Maybe the reason to modify it is that NR_CPUS is not a good
> approximation/hint/clue.
NR_CPUS is not tooooo bad an approximation. After all, the output size is
approximately proportional to the number of CPUs.
Multiplied by the number of interrupts :(
CPU0 CPU1
0: 11982656 0 IO-APIC-edge timer
1: 26 0 IO-APIC-edge i8042
2: 0 0 XT-PIC cascade
We could perhaps just convert it to num_online_cpus() and run away. Depends
how heoric you're feeling.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:22 EST