summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-10-05 20:23:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-10-06 08:37:50 +0200
commit226d0e9218bd3de1edaddc5402e62fd7ec6daa4a (patch)
tree41f892a4ff869756bfebf72a446e1b3708a86598
parent344bb536a47acf399aa775e3c00cb51e6aabca9e (diff)
downloadrtems-226d0e9218bd3de1edaddc5402e62fd7ec6daa4a.tar.bz2
score: Optimize EDF SMP scheduler ops
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.
-rw-r--r--cpukit/include/rtems/score/scheduleredfsmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/scheduleredfsmp.h b/cpukit/include/rtems/score/scheduleredfsmp.h
index 6fef6fb86a..1841aa4a7b 100644
--- a/cpukit/include/rtems/score/scheduleredfsmp.h
+++ b/cpukit/include/rtems/score/scheduleredfsmp.h
@@ -110,7 +110,7 @@ typedef struct {
#define SCHEDULER_EDF_SMP_ENTRY_POINTS \
{ \
_Scheduler_EDF_SMP_Initialize, \
- _Scheduler_default_Schedule, \
+ NULL, \
_Scheduler_EDF_SMP_Yield, \
_Scheduler_EDF_SMP_Block, \
_Scheduler_EDF_SMP_Unblock, \