Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
>> Jan Kiszka wrote:
>>> OK. So you are suggesting to read out the affinity mask from task_struct
>>> instead of passing it as an additional argument?
>>>
>> Unless I am wrong, it is the way it currently works.
>>
> 
> Yes, for the posix skin. But native is different due to the spilt-up
> create/start and its own affinity API. And that caused problems when
> applying nkaffinity.
> 
> Nevertheless, I should try to combine the cleanup of xnshadow_map with
> passing the mask ALWAYS in task_struct. Let's see how this works out,
> most likely with less patching.

sched_setaffinity is 2.6 only. So we would have to push the mask
application into kernel space for the native skin anyway. Hmm.

What are posix skin users supposed to do over 2.4? Upgrade to 2.6? BTW,
do you plan to support pthread_attr_setaffinity_np somehow?

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to