Re: [PATCH 08/27] score: Add missing idle thread exchanges

2021-11-21 Thread Sebastian Huber
On 20/11/2021 19:58, Gedare Bloom wrote: A bit unrelated, these two functions could be refactored/merged, with a callout function passed in to select either _Scheduler_SMP_Preempt() or _Scheduler_SMP_Allocate_processor(). Later these functions are changed again. The loop is very similar,

Re: [PATCH 13/27] score: Optimize SMP EDF move to ready operation

2021-11-21 Thread Sebastian Huber
On 20/11/2021 21:09, Gedare Bloom wrote: On Mon, Nov 15, 2021 at 10:13 AM Sebastian Huber wrote: If a node is moved from the scheduled chain to the ready queue, then we know that it is the highest priority ready node. So, it can be prepended to the ready queue without doing any comparisons.

Re: [PATCH 02/27] score: Add red-black tree append/prepend

2021-11-21 Thread Sebastian Huber
On 20/11/2021 19:36, Gedare Bloom wrote: +void _RBTree_Append( RBTree_Control *the_rbtree, RBTree_Node *the_node ) +{ + RBTree_Node **link; + RBTree_Node *parent; + + link = _RBTree_Root_reference( the_rbtree ); + parent = NULL; + + while ( *link != NULL ) { +parent = *link; +link

Re: grub2 on old Linux Distributions (at least CentOS 7)

2021-11-21 Thread Karel Gardas
On 11/21/21 2:21 AM, Joel Sherrill wrote: > > > On Sat, Nov 20, 2021, 6:50 PM Karel Gardas wrote: > > > Hi, > > indeed, centos 7 is bundled with gcc 4.8.5. Now, the question is, is > centos 7 still supported by RTEMS? If so, then we will need to invent > some machinery to

Re: grub2 on old Linux Distributions (at least CentOS 7)

2021-11-21 Thread Chris Johns
On 21/11/21 12:21 pm, Joel Sherrill wrote: > On Sat, Nov 20, 2021, 6:50 PM Karel Gardas wrote: >> indeed, centos 7 is bundled with gcc 4.8.5. Now, the question is, is >> centos 7 still supported by RTEMS? If so, then we will need to invent >> some machinery to check not only for commands but also