Changeset 2ba0c035 in rtems


Ignore:
Timestamp:
Oct 12, 2016, 7:54:58 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
97eaefd4
Parents:
ed19002
git-author:
Sebastian Huber <sebastian.huber@…> (10/12/16 07:54:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/12/16 08:37:23)
Message:

score: Simplify check for migrations

File:
1 edited

Legend:

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

    red19002 r2ba0c035  
    346346     */
    347347
    348     _Scheduler_SMP_Node_change_state(
    349       _Scheduler_SMP_Node_downcast( lowest_scheduled ),
    350       SCHEDULER_SMP_NODE_READY
    351     );
    352     _Scheduler_Thread_change_state(
    353       _Scheduler_Node_get_user( lowest_scheduled ),
    354       THREAD_SCHEDULER_READY
    355     );
    356 
    357     _Scheduler_SMP_Allocate_processor(
     348    _Scheduler_priority_SMP_Extract_from_ready( context, highest_ready );
     349    _Scheduler_SMP_Enqueue_to_scheduled(
    358350      context,
    359351      highest_ready,
    360352      lowest_scheduled,
     353      _Scheduler_SMP_Insert_scheduled_fifo,
     354      _Scheduler_priority_SMP_Move_from_scheduled_to_ready,
    361355      _Scheduler_SMP_Allocate_processor_exact
    362     );
    363 
    364     _Scheduler_priority_SMP_Move_from_ready_to_scheduled(
    365       context,
    366       highest_ready
    367     );
    368 
    369     _Scheduler_priority_SMP_Move_from_scheduled_to_ready(
    370       context,
    371       lowest_scheduled
    372356    );
    373357  }
Note: See TracChangeset for help on using the changeset viewer.