cpuset and affinity implementation
Jeff Roberson
jroberson at chesapeake.net
Wed Feb 27 09:36:18 UTC 2008
On Tue, 26 Feb 2008, Daniel Eischen wrote:
> 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 :-)
Are there any objections to commiting this functionality in its current
form?
I think there is the possibility for further debate and refinement but I
believe the code is stable and simple enough to hit the tree for people to
start using it.
Thanks,
Jeff
>
> --
> DE
>
More information about the freebsd-arch
mailing list