Messages in this thread | | | Date | Thu, 10 Apr 2003 22:28:00 -0700 | From | Andrew Morton <> | Subject | Re: proc_misc.c bug |
| |
"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/
| |