Skip to content

Strong APA v1.3#7

Open
richidubey wants to merge 29 commits intomasterfrom
Strong-APA-v1.3
Open

Strong APA v1.3#7
richidubey wants to merge 29 commits intomasterfrom
Strong-APA-v1.3

Conversation

@richidubey
Copy link
Copy Markdown
Owner

No description provided.

* @param thread Thread correspoding to the @node that asks for help.
* @param node node associated with @thread
*/
* @param scheduler The scheduler control instance.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated
* Finds and returns the highest ready node present by accessing the
* _Strong_APA_Context->CPU with front and rear values.
*/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no blank line

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated
first_task = true;


//Assert rear < sizeof(Context->CPU)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete



//Assert rear < sizeof(Context->CPU)
_Assert( rear < CONFIGURE_MAXIMUM_PROCESSOR );
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<= ?

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated
/*
* Highest ready is not just directly reachable from the victim cpu
* So there is need of task shifting .
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"need for" and remove space before period.

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated
next_thread = curr_strong_node->invoker->heir;
next_node = _Thread_Scheduler_get_home_node( next_thread );

while( curr_node != lowest_reachable ) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ws

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated
//Add it to All_nodes chain since it is now either scheduled or just ready.

//Add it to Ready chain since it is now either scheduled or just ready.
_Scheduler_strong_APA_Insert_ready(context,node,insert_priority);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ws

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated
//Add it to All_nodes chain since it is now either scheduled or just ready.

//Add it to Ready chain since it is now either scheduled or just ready.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/* */

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated

//Checks if the thread_CPU is in the affinity set of the node
if ( _Processor_mask_Is_set( &strong_node->Affinity, cpu_index) ) {
if ( _Processor_mask_Is_set( &strong_node->Affinity, cpu_index) ) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ws cpu_index)

Comment thread cpukit/score/src/schedulerstrongapa.c Outdated
_Scheduler_strong_APA_Has_ready,
_Scheduler_strong_APA_Enqueue_scheduled,
_Scheduler_strong_APA_Register_idle
_Scheduler_SMP_Do_nothing_register_idle
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since now you don't use _Scheduler_strong_APA_Register_idle you should delete its file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants