Re: getting processor numbers

Ulrich Drepper
2007-04-03T17:17:27Z

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

Andi Kleen wrote:
> There was a proposal some time ago to put that into the ELF aux vector
> Unfortunately there was disagreement on what information to put
> there exactly (full topology, only limited numbers etc.)

Topology, yes, I'm likely in favor of it.

Processor number: no. Unless you want to rip out hotpluging. I'm
certainly in favor of that, it creates huge problems for no real
benefit for the common use cases. But as it is, the number of
processors is not necessarily constant over the lifetime of a process.
The machine architecture is.

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

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