diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-10-15 11:21:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-23 11:00:28 +0100 |
commit | 3d6ebde1acab61e7c8fce1a1ed51517f7c2bf7c6 (patch) | |
tree | 53af30eda5f2f52317549afb9492b5a9f4cb7720 /spec/build/cpukit/objsmp.yml | |
parent | score: Add SMP scheduler idle exchange callback (diff) | |
download | rtems-3d6ebde1acab61e7c8fce1a1ed51517f7c2bf7c6.tar.bz2 |
score: Add SMP scheduler make/clean sticky
This patch fixes the following broken behaviour:
While a thread is scheduled on a helping scheduler, while it does not
own a MrsP semaphore, if it obtains a MrsP semaphore, then no
scheduler node using an idle thread and the ceiling priority of the
semaphore is unblocked for the home scheduler.
This could lead to priority inversion issues and is not in line
with the MrsP protocol.
Introduce two new scheduler operations which are only enabled if
RTEMS_SMP is defined. The operations are used to make the scheduler
node of the home scheduler sticky and to clean the sticky property.
This helps to keep the sticky handing out of the frequently used
priority update operation.
Close #4532.
Diffstat (limited to 'spec/build/cpukit/objsmp.yml')
-rw-r--r-- | spec/build/cpukit/objsmp.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/build/cpukit/objsmp.yml b/spec/build/cpukit/objsmp.yml index 1a55708638..ac57bb27b1 100644 --- a/spec/build/cpukit/objsmp.yml +++ b/spec/build/cpukit/objsmp.yml @@ -13,6 +13,7 @@ source: - cpukit/score/src/percpujobs.c - cpukit/score/src/percpustatewait.c - cpukit/score/src/profilingsmplock.c +- cpukit/score/src/schedulerdefaultmakecleansticky.c - cpukit/score/src/schedulerdefaultpinunpin.c - cpukit/score/src/schedulerdefaultpinunpindonothing.c - cpukit/score/src/schedulerdefaultsetaffinity.c |