libBSD and CPU Load display questions in SMP mode

Chris Johns chrisj at rtems.org
Wed Oct 17 00:46:30 UTC 2018


On 16/10/2018 19:34, Sebastian Huber wrote:
> On 16/10/2018 10:28, jameszxj wrote:
>> CPU:zynq z7020  RTEMS version: master version
>> SMP define:
>> #define CONFIGURE_MAXIMUM_PROCESSORS        2
>>
>> #if 1
>> #define CONFIGURE_MAXIMUM_PRIORITY 255
>>
>> #define CONFIGURE_SCHEDULER_PRIORITY_SMP
> 
> The only SMP scheduler supported by libbsd is:
> 
> #define CONFIGURE_SCHEDULER_EDF_SMP

Why does the restriction exist?

>> 2.when I connect to RTEMS with ftp or telnet, system reset.
>> If just only define CONFIGURE_MAXIMUM_PROCESSORS,ftp and telnet is ok.
>>
>> *** FATAL ***
>> fatal source: 10 (RTEMS_FATAL_SOURCE_SMP)
>> fatal code: 7 (0x00000007)
> 
> This is:
> 
> SMP_FATAL_SCHEDULER_PIN_OR_UNPIN_NOT_SUPPORTED
> 

Who is pinning threads?

Chris



More information about the devel mailing list