[RTEMS Project] #2811: More robust thread dispatching on SMP and ARM Cortex-M

RTEMS trac trac at rtems.org
Wed Nov 23 11:54:11 UTC 2016


#2811: More robust thread dispatching on SMP and ARM Cortex-M
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  4.12
Component:  cpukit           |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"84e6f15c828869eb7d293096cfcfa0563b5752b3/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="84e6f15c828869eb7d293096cfcfa0563b5752b3"
 score: Robust thread dispatch

 On SMP configurations, it is a fatal error to call blocking operating
 system with interrupts disabled, since this prevents delivery of
 inter-processor interrupts. This could lead to executing threads which
 are not allowed to execute resulting in undefined behaviour.

 The ARM Cortex-M port has a similar problem, since the interrupt state
 is not a part of the thread context.

 Update #2811.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2811#comment:11>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list