[RTEMS Project] #4545: The SMP EDF scheduler has to better check the affinity set of a thread

RTEMS trac trac at rtems.org
Wed Nov 10 08:27:34 UTC 2021


#4545: The SMP EDF scheduler has to better check the affinity set of a thread
------------------------------+--------------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  defect           |     Status:  assigned
  Priority:  normal           |  Milestone:  6.1
 Component:  score            |    Version:  5
  Severity:  normal           |   Keywords:  SMP, qualification
Blocked By:                   |   Blocking:
------------------------------+--------------------------------
 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.

--
Ticket URL: <http://devel.rtems.org/ticket/4545>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list