On 02/21/2010 10:36 PM, Amos Jeffries wrote:

> Is there any kind of kernel core labeling? that would be nicer to link
> into than a blind core=N if it exists.
> /just a thought.

I am not an expert on this, but judging by man sched_setaffinity(2) and
man getcpu(2), processors (i.e., cores) are identified by "unique small
integers". It is possible that those integers are not sequential on some
advanced systems, I guess, but I am not sure we should worry about it
now. Any other opinions?

Thank you,

Alex.

Reply via email to