cpuset and affinity implementation

Daniel Eischen deischen at freebsd.org
Wed Feb 27 04:47:11 UTC 2008


On Tue, 26 Feb 2008, Jeff Roberson wrote:

>
> On Tue, 26 Feb 2008, Daniel Eischen wrote:
>
>> On Mon, 25 Feb 2008, Jeff Roberson wrote:
>> 
>>> See above discussion.  I'm not sure what you mean by 'default' cpuset 
>>> here.
>> 
>> I imagine the 'default' cpuset as the system's default cpuset,
>> in lieu of any administratively created cpusets and bindings
>> for the process (inherited or explicit).
>
> My opinion is that if we decide that it's important to assign numbered sets 
> to tids we need then to allow cpuset_getid to return multiple ids for 
> WHICH_PID.

Maybe there shouldn't be WHICH_PID.  Perhaps it should be called
WHICH_ALLTIDS.  Then it might appear more expected if
cpuset_getid(WHICH_ALLTIDS, ...) returned multiple cpusets.
I realize this is just playing with words, and I do prefer
WHICH_PID :-)

-- 
DE


More information about the freebsd-arch mailing list