[RTEMS Project] #4545: The SMP EDF scheduler can only support more restricted affinity sets of a thread (was: The SMP EDF scheduler has to better check the affinity set of a thread)
RTEMS trac
trac at rtems.org
Wed Nov 10 08:29:06 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: assigned
Priority: normal | Milestone: 6.1
Component: score | Version: 5
Severity: normal | Resolution:
Keywords: SMP, qualification | Blocked By:
Blocking: |
--------------------------------+------------------------------
Description changed by Sebastian Huber:
Old description:
> The SMP EDF scheduler supports a one-to-one and one-to-all thread to
> processor affinity. Currently it accepts affinity sets which are a proper
> subset of the online processor containing at least two processors owned
> by the scheduler. In this case it sets 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.
New description:
The SMP EDF scheduler supports a one-to-one and one-to-all thread to
processor affinity. Currently it accepts affinity sets which are a proper
subset of the online processors containing at least two processors owned
by the scheduler. In this case it sets 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.
--
--
Ticket URL: <http://devel.rtems.org/ticket/4545#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list