SMP related question

Joel Sherrill joel at
Fri Aug 10 12:19:03 UTC 2018

On Fri, Aug 10, 2018, 7:11 AM Passas, Stavros <stavros.passas at>

> Hi,
> In my local SMP enabled RTEMS, I notice core1 starting the Init() function
> of the user application.
I assume the boot processor is on core 0. How many cores?

> Is there a way to enforce RTEMS to run the Init() in the boot processor,
> when SMP is enabled?
Off the top of my head, all I can think of is using clustered scheduling
and have a scheduler instance just for core 0.

A potential alternative would be to have a way to set the affinity for the
Init thread via a configuration setting like you can do stack size now.

A work around would be to have the Init thread create another thread pinned
to core 0 to do the initialization but that seems like a hack.

> Best Regards,
>    Stavros
> --------------------------------------------------------------
> Intel Research and Development Ireland Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
> This e-mail and any attachments may contain confidential material for the
> sole use of the intended recipient(s). Any review or distribution by others
> is strictly prohibited. If you are not the intended recipient, please
> contact the sender and delete all copies.
> _______________________________________________
> users mailing list
> users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list