Changeset a936aa49 in rtems for cpukit/sapi


Ignore:
Timestamp:
06/06/13 13:41:00 (11 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
8b222be
Parents:
8f420927
git-author:
Sebastian Huber <sebastian.huber@…> (06/06/13 13:41:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/14/13 14:26:08)
Message:

scheduler: New simple SMP scheduler implementation

The new Simple SMP Scheduler allocates a processor for the processor
count highest priority ready threads. The thread priority and position
in the ready chain are the only information to determine the scheduling
decision. Threads with an allocated processor are in the scheduled
chain. After initialization the scheduled chain has exactly processor
count nodes. Each processor has exactly one allocated thread after
initialization. All enqueue and extract operations may exchange threads
with the scheduled chain. One thread will be added and another will be
removed. The scheduled and ready chain is ordered according to the
thread priority order. The chain insert operations are O(count of ready
threads), thus this scheduler is unsuitable for most real-time
applications.

The thread preempt mode will be ignored.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    r8f420927 ra936aa49  
    684684   */
    685685  #define CONFIGURE_MEMORY_FOR_SCHEDULER ( \
    686     _Configure_From_workspace( sizeof(Chain_Control) ) \
     686    _Configure_From_workspace( sizeof( Scheduler_simple_smp_Control ) ) \
    687687  )
    688688  #define CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER (0)
Note: See TracChangeset for help on using the changeset viewer.