Re: [PATCH 2/3] cpumask: use new cpus_scnprintf function v3

From: Paul Jackson
Date: Thu Apr 10 2008 - 08:49:19 EST


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@xxxxxxx> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/