Re: getting processor numbers

Ulrich Drepper
2007-04-03T17:31:09Z

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

Andi Kleen wrote:
> Topology is dependent on the number of CPUs.

Not all of it.

> Hot plugging is a completely orthogonal problem. Even your original
> proposal wouldn't address it.

Nonsense. Reading /proc/cpuinfo or /sys/devices/system/cpu reflects the
current CPU count. The information read would (and is not) cached, it's
re-read every time. We might add very limited caching (for a few
seconds) but that's as much as we can go.

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]