[LITMUS^RT] Modify priority of task in pfp-> ready_queue based on promotion point

Björn Brandenburg bbb at mpi-sws.org
Thu Apr 6 15:02:14 CEST 2017


> On 3 Apr 2017, at 11:00, THIHA KYAW <thihakyaw.job at gmail.com> wrote:
> 
> Hi,
> 
> Basically I want to know in which function I should use to update a new priority of a task when on_enforcement_timeout() is time out.
> 
> In budget.c, it goes to litmus_reschedule_local() function. I should not change in litmus_reschedule_local().
> 
> Please advise me.
> 
> Regards,
> Thiha Kyaw
> 
> On 2 April 2017 at 18:01, THIHA KYAW <thihakyaw.job at gmail.com> wrote:
> Hi,
> 
> I would like to boot higher priority for a task in  ready queue based on promotion point.
> 
> Currently I check the promoting point based on timer (budget) and decide to promote the priority to higher value.
> 
> I don't know how to do it.
> 
> Please give me idea.
> 
> Regards,
> Thiha Kyaw


Dear Thiha,

you are asking not about the current systems, but for solutions for a new feature that you still want to develop. Sorry, but as much as everyone here wants to help, nobody here has the time to come up with a complete custom design for you. That’s really your work. I’m happy to discuss different designs that you come up with, but you’ll have to explore some workable designs yourself first. 

- Björn





More information about the litmus-dev mailing list