score support for cpuset validation

Joel Sherrill joel.sherrill at OARcorp.com
Tue Nov 26 20:17:34 UTC 2013


And in case the error cases are not completely clear,
do a "man pthread_setaffinity_np" on Linux and see
the errors returned. :)


On 11/26/2013 1:15 PM, Joel Sherrill wrote:
> FWIW these are likely three separate methods. We may
> need a new handler. So think long term when making
> suggestions.
> 
> On 11/26/2013 1:11 PM, Jennifer Averett wrote:
>> I’d like to add a method to the super core to validate
>>
>> a cpuset:
>>
>> 1)       Can’t have a cpuset that is sets a cpu greater than the number
>> of cores
>>
>> 2)      Can’t have a cpuset  that is sets a cpu that is turned off or
>> not running rtems…
>>
>> 3)      Can’t have a cpuset with no cpu’s selected.
>>
>>  
>>
>> Any suggestions for a method name, location, … ?
>>
>>  
>>
>> Jennifer Averett
>>
>> On-Line Applications Research
>>
>> 256-319-2752
>>
>>  
>>
> 
> 
> 



-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list