Re: [PATCH 4/6] score: Decouple thread and scheduler nodes on SMP

2014-06-13 Thread Gedare Bloom
>>> /* >>> * This is done when we need to check if reevaluations are needed. >>> */ >>> if ( victim == NULL ) { >>> -return _Scheduler_priority_Ready_queue_first( >>> +node = (Scheduler_priority_affinity_SMP_Node *) >>> + _Scheduler_priority_Ready_queue_first( >>>

Re: [PATCH 4/6] score: Decouple thread and scheduler nodes on SMP

2014-06-13 Thread Sebastian Huber
On 06/13/2014 05:50 PM, Gedare Bloom wrote: On Fri, Jun 13, 2014 at 10:37 AM, Sebastian Huber wrote: Add a chain node to the scheduler node to decouple the thread and scheduler nodes. It is now possible to enqueue a thread in a thread wait queue and use its scheduler node at the same for other

Re: [PATCH 4/6] score: Decouple thread and scheduler nodes on SMP

2014-06-13 Thread Gedare Bloom
On Fri, Jun 13, 2014 at 10:37 AM, Sebastian Huber wrote: > Add a chain node to the scheduler node to decouple the thread and > scheduler nodes. It is now possible to enqueue a thread in a thread > wait queue and use its scheduler node at the same for other threads, > e.g. a resouce owner. > --- >

[PATCH 4/6] score: Decouple thread and scheduler nodes on SMP

2014-06-13 Thread Sebastian Huber
Add a chain node to the scheduler node to decouple the thread and scheduler nodes. It is now possible to enqueue a thread in a thread wait queue and use its scheduler node at the same for other threads, e.g. a resouce owner. --- cpukit/score/include/rtems/score/scheduler.h | 19 ++- cpuki