Re: [PATCH] score: Optimize EDF SMP scheduler ops

2021-10-05 Thread Joel Sherrill
On Tue, Oct 5, 2021, 1:49 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 05/10/2021 20:34, Joel Sherrill wrote: > > On Tue, Oct 5, 2021 at 1:26 PM Sebastian Huber > > wrote: > >> The schedule operation is only called by rtems_task_mode(). It is > >> called if preempt mode

Re: [PATCH] score: Optimize EDF SMP scheduler ops

2021-10-05 Thread Sebastian Huber
On 05/10/2021 20:34, Joel Sherrill wrote: On Tue, Oct 5, 2021 at 1:26 PM Sebastian Huber wrote: The schedule operation is only called by rtems_task_mode(). It is called if preempt mode of the executing thread changes from disabled to enabled. Since the EDF SMP scheduler does not support the

Re: [PATCH] score: Optimize EDF SMP scheduler ops

2021-10-05 Thread Joel Sherrill
On Tue, Oct 5, 2021 at 1:26 PM Sebastian Huber wrote: > > The schedule operation is only called by rtems_task_mode(). It is > called if preempt mode of the executing thread changes from disabled to > enabled. Since the EDF SMP scheduler does not support the disabled > preemption mode, the schedu

[PATCH] score: Optimize EDF SMP scheduler ops

2021-10-05 Thread Sebastian Huber
The schedule operation is only called by rtems_task_mode(). It is called if preempt mode of the executing thread changes from disabled to enabled. Since the EDF SMP scheduler does not support the disabled preemption mode, the schedule operation is never called. --- cpukit/include/rtems/score/sch