Re: SMP: process-specific options

From: Kinkie <gkinkie_at_gmail.com>
Date: Tue, 23 Feb 2010 10:01:13 +0100

On Tue, Feb 23, 2010 at 4:54 AM, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> 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?

We could let the kernel scheduler decide what's best (aka ignore the issue) :)

-- 
    /kinkie
Received on Tue Feb 23 2010 - 09:01:22 MST

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