[RTEMS Project] #4545: The SMP EDF scheduler can only support more restricted affinity sets of a thread
RTEMS trac
trac at rtems.org
Tue Nov 23 13:36:34 UTC 2021
#4545: The SMP EDF scheduler can only support more restricted affinity sets of a
thread
--------------------------------+------------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: defect | Status: closed
Priority: normal | Milestone: 6.1
Component: score | Version: 5
Severity: normal | Resolution: fixed
Keywords: SMP, qualification | Blocked By:
Blocking: |
--------------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"834a86fe212719735fd7ede8c60f78fedf70a758/rtems"
834a86fe/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="834a86fe212719735fd7ede8c60f78fedf70a758"
score: Restrict affinity for EDF SMP scheduler
The SMP EDF scheduler supports a one-to-one and one-to-all thread to
processor affinity. It accepted affinity sets which are a proper
subset of the online processor containing at least two processors owned by
the scheduler. In this case it used a one-to-one thread to processor
affinity. This leads to undefined behaviour if a processor is removed
since the higher level check in rtems_scheduler_remove_processor() does
not account for this implementation detail.
Restrict the affinity set accepted by the SMP EDF scheduler to
1. all online processors, or
2. exactly one processor owned by the scheduler.
Close #4545.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4545#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list