Re: Strong APA Scheduler : First Draft

2020-07-30 Thread Richi Dubey
Thank you for explaining everything. I did use the wrong terminology and I keep forgetting this stuff again and again :(. So, it is true that percpu.o will link with > scheduleredfsmp.o, but that isn't relevant to the question of whether > or not the EDF SMP Scheduler uses the types/structs define

Re: Strong APA Scheduler : First Draft

2020-07-29 Thread Gedare Bloom
On Wed, Jul 29, 2020 at 2:24 AM Richi Dubey wrote: > > Thanks for your help and reviews, I am going to work on all of your > suggestions. > >> The purpose of is to enable the >> application to configure this scheduler and nothing more. Please note >> that uses >> struct Per_CPU_Control *cpu >>

Re: Strong APA Scheduler : First Draft

2020-07-29 Thread Richi Dubey
Thanks for your help and reviews, I am going to work on all of your suggestions. The purpose of is to enable the > application to configure this scheduler and nothing more. Please note > that uses > struct Per_CPU_Control *cpu > and NOT > Per_CPU_Control *cpu > You can use struct Per_CPU_Contr

Re: Strong APA Scheduler : First Draft

2020-07-28 Thread Sebastian Huber
On 29/07/2020 06:55, Gedare Bloom wrote: On Tue, Jul 28, 2020 at 10:49 PM Sebastian Huber wrote: On 27/07/2020 09:44, Richi Dubey wrote: Which compiler error do you get? Maybe there is a cyclic dependency. I assumed that the schedulersmp.h already includes the percpu.h which was not th

Re: Strong APA Scheduler : First Draft

2020-07-28 Thread Gedare Bloom
On Tue, Jul 28, 2020 at 10:49 PM Sebastian Huber wrote: > > On 27/07/2020 09:44, Richi Dubey wrote: > > > Which compiler error do you get? Maybe there is a cyclic dependency. > > > > I assumed that the schedulersmp.h already includes the percpu.h which > > was not the case. My bad. The error h

Re: Strong APA Scheduler : First Draft

2020-07-28 Thread Sebastian Huber
On 27/07/2020 09:44, Richi Dubey wrote: Which compiler error do you get? Maybe there is a cyclic dependency. I assumed that the schedulersmp.h already includes the percpu.h which was not the case. My bad. The error has been removed. I assumed this because schedulersmp.h uses

Re: Strong APA Scheduler : First Draft

2020-07-27 Thread Richi Dubey
My bad. Please find the new pull request at : https://github.com/richidubey/rtems/pull/4 On Tue, Jul 28, 2020 at 9:08 AM Gedare Bloom wrote: > On Mon, Jul 27, 2020 at 7:11 AM Richi Dubey wrote: > > > > Dear Dr. Bloom, > > > > Please find the pull request of my branch with my repo's master at >

Re: Strong APA Scheduler : First Draft

2020-07-27 Thread Gedare Bloom
On Mon, Jul 27, 2020 at 7:11 AM Richi Dubey wrote: > > Dear Dr. Bloom, > > Please find the pull request of my branch with my repo's master at > https://github.com/richidubey/rtems/pull/3. All the compiler errors and > warnings have been removed, but the implementation would not work because > t

Re: Strong APA Scheduler : First Draft

2020-07-27 Thread Richi Dubey
Dear Dr. Bloom, Please find the pull request of my branch with my repo's master at https://github.com/richidubey/rtems/pull/3. All the compiler errors and warnings have been removed, but the implementation would not work because there are some places with no code (backtracking). It'd be great if y

Re: Strong APA Scheduler : First Draft

2020-07-27 Thread Richi Dubey
> > Which compiler error do you get? Maybe there is a cyclic dependency. I assumed that the schedulersmp.h already includes the percpu.h which was not the case. My bad. The error has been removed. I assumed this because schedulersmp.h uses

Re: Strong APA Scheduler : First Draft

2020-07-26 Thread Sebastian Huber
On 26/07/2020 16:03, Gedare Bloom wrote: On Sat, Jul 25, 2020 at 11:21 AM Richi Dubey wrote: Dear Dr. Bloom, Please find the pull request at the following link:https://github.com/RTEMS/rtems/pull/39. It would be great if you can create a GitHub Pull Request (PR) for your branch against you

Re: Strong APA Scheduler : First Draft

2020-07-26 Thread Gedare Bloom
Richi, On Sat, Jul 25, 2020 at 11:21 AM Richi Dubey wrote: > > Dear Dr. Bloom, > > Please find the pull request at the following link: > https://github.com/RTEMS/rtems/pull/39. > It would be great if you can create a GitHub Pull Request (PR) for your branch against your "master" branch in your

Re: Strong APA Scheduler : First Draft

2020-07-25 Thread Richi Dubey
Dear Dr. Bloom, Please find the pull request at the following link: https://github.com/RTEMS/rtems/pull/39. Please note that I have tried to remove all the compilation errors but this still won't compile right now, because my implementation requires the use of percpu.h file, which (I'm assuming)

Re: Strong APA Scheduler : First Draft

2020-07-24 Thread Gedare Bloom
On Fri, Jul 24, 2020 at 8:20 AM Richi Dubey wrote: > > Hi, > > With Dr. Butterfield's help, I've made the changes to implement the FIFO > Queue using chain. I am not accustomed to coding for embedded systems, so I > am not completely sure if I should be using malloc or not. > > Someone, please r

Re: Strong APA Scheduler : First Draft

2020-07-24 Thread Richi Dubey
Hi, With Dr. Butterfield's help, I've made the changes to implement the FIFO Queue using chain. I am not accustomed to coding for embedded systems, so I am not completely sure if I should be using malloc

Re: Strong APA Scheduler : First Draft

2020-07-23 Thread Richi Dubey
Hi Andrew, Your suggestion helps and I am going to work on it today. Thank you. On Thu, Jul 23, 2020 at 8:14 PM Andrew Butterfield < andrew.butterfi...@cs.tcd.ie> wrote: > Hi Richi, > > a quick answer to 1 below > > On 23 Jul 2020, at 15:20, Richi Dubey wrote: > 1)Both the algorithms require t

Re: Strong APA Scheduler : First Draft

2020-07-23 Thread Andrew Butterfield
Hi Richi, a quick answer to 1 below > On 23 Jul 2020, at 15:20, Richi Dubey wrote: > 1)Both the algorithms require the use of a FIFO Queue to support the insert > and dequeue operations. > > I believe we can use chains and use the chain_append() and combination of > _Chain_Extract and _Chai

Re: Strong APA Scheduler : First Draft

2020-07-23 Thread Richi Dubey
Hi, The v1.1 of the draft is live at: https://richidubey.github.io/Strong-APA-Documentation/html/ and I need your reviews and your help on the following points: 1)Both the algorithms require the use of a FIFO Queue to support the insert and dequeue operations. I believe we can use chains and us

Strong APA Scheduler : First Draft

2020-07-14 Thread Richi Dubey
Hi, I'm excited to present to you my first draft of the Strong APA scheduler that we've all been working so hard on. The link for the repository containing the code and the doxygen config is: https://github.com/richidubey/Strong-APA-Documentation and the documentation can be viewed directly from