Messages in this thread | | | Date | Thu, 10 Apr 2008 07:49:04 -0500 | From | Paul Jackson <> | Subject | Re: [PATCH 2/3] cpumask: use new cpus_scnprintf function v3 |
| |
Bert, responding to Mike: > > It's printing the number of cpus on a node, so the number of nodes is not > > important, it's how many cpus can fit on the head of a node... ;-) > Ahh, the old code was Just Plain Wrong.
Looks like the code originally had NR_CPUS, and that was changed to MAX_NUMNODES, perhaps as unintended collateral damage from some x86_64 node SLIT changes done in the patch:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc3/2.6.10-rc3-mm1/broken-out/x86_64-add-x86_64-support-for-jack-steiners-slit-sysfs.patch
-- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214
| |