[RTEMS Project] #2751: Thread dispatch via interrupt is broken at least on ARM and PowerPC

RTEMS trac trac at rtems.org
Fri Jul 1 09:58:45 UTC 2016


#2751: Thread dispatch via interrupt is broken at least on ARM and PowerPC
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  4.12
Component:  SMP              |     Version:  4.11
 Severity:  critical         |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

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

 In [changeset:"8d5b03802e99e581c360e9a2cf67856596ec824c/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="8d5b03802e99e581c360e9a2cf67856596ec824c"
 score: Workaround for #2751

 The ARM and PowerPC interrupt epilogues call _Thread_Dispatch() with
 interrupts disabled (counter example: SPARC).

 On SMP configurations, since inter-processor interrupts set the thread
 dispatch necessary indicator this prevents a thread dispatch
 notification in post-switch handlers (which all run with interrupts
 disabled).

 On all configurations, this is a serious issue for the interrupt
 latency.

 Update #2751
 }}}

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


More information about the bugs mailing list