[LITMUS^RT] running a task as its execution time

Giovani Gracioli giovanig at gmail.com
Mon Jun 4 19:33:34 CEST 2012


Hi Björn,

Thanks for looking at the bug. I will apply the changes this week, see if
they fixed the problem, and let you guys know about it.

On Thu, May 31, 2012 at 4:46 AM, Björn Brandenburg <bbb at mpi-sws.org> wrote:

> On May 31, 2012, at 7:34 AM, Jonathan Herman wrote:
>
> > We encountered this same issue with the mixed-criticality
> > and EDF-HSB schedulers. Our poor implementation was to remove the '&&
> > !preempt' before job_completion in the _schedule method, and
> > compensate by adding a check for is_queued(task) in the _requeue
> > method so that job_completion could be called after a preemption
> > without causing a BUG.
> >
> >> It seems to me the right thing to do is to not add unlinked tasks to
> the ready queue if they have no budget remaining. Then it is safe to
> process the job completion even if it coincides with a preemption.
> >
> > This is a better solution.
>
>
> I have pushed a proposed fix to prop/budget-bug-fix. It seems to fix the
> issue for me. Everyone, please test & review.
>
> Giovani, can you please confirm that this fixes the bug?
>
> Thanks,
> Björn
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20120604/64dac7dd/attachment.html>


More information about the litmus-dev mailing list