Changeset 3d6ebde1 in rtems for cpukit/score/src

Timestamp:
10/15/21 09:21:31 (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ff20bc9
Parents:
3781709
git-author:
Sebastian Huber <sebastian.huber@…> (10/15/21 09:21:31)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/23/21 10:00:28)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.