Changeset 8d5b0380 in rtems


Ignore:
Timestamp:
Jul 1, 2016, 7:44:48 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c0bd006
Parents:
23dedc44
git-author:
Sebastian Huber <sebastian.huber@…> (07/01/16 07:44:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/01/16 09:51:49)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadrestart.c

    r23dedc44 r8d5b0380  
    358358    _Thread_Make_zombie( executing );
    359359
     360    /* FIXME: Workaround for https://devel.rtems.org/ticket/2751 */
     361    cpu_self->dispatch_necessary = true;
     362
     363    _Assert( cpu_self->heir != executing );
    360364    _Thread_Dispatch_enable( cpu_self );
    361365    RTEMS_UNREACHABLE();
Note: See TracChangeset for help on using the changeset viewer.