Re: SMP: process-specific options

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 22 Feb 2010 20:54:26 -0700

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.
Received on Tue Feb 23 2010 - 03:54:46 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 23 2010 - 12:00:09 MST