> That said, on IRC my preference was to create smp_num_siblings[] and
> store the info per-cpu. But right now that's only for software
> engineering masturbation :) since it would store the same value N times
> on current CPUs.
I agree with Jeff here - mostly because subverting the format is no
good, either.
In the future, or perhaps on other architectures, smp_num_siblings could
be per-processor. So now we can extend this in the future and not break
the /proc interface.
Its just a by-product of the P4 that smp_num_siblings is global on
arch-i386.
Robert Love
-
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/