[LITMUS^RT] (SOLVED?) Re: linked but never scheduled

Glenn Elliott gelliott at cs.unc.edu
Mon Sep 17 16:17:17 CEST 2012


On Sep 17, 2012, at 6:12 AM, Björn Brandenburg <bbb at mpi-sws.org> wrote:

> I think it should suffice to call sched_state_validate_switch() in schedule_tail() and adding the required non-premptivity. If sched_state_validate_switch() fails, then call litmus_reschedule_local(), which will cause the scheduler to be invoked to reconsider its decision at the earliest possible moment.


I have created a patch following Björn's suggestions.  It seems to do the trick.  I no longer hang in my test case.  I've pushed the patch to github as "prop/sched_fork".  Did I miss any necessary trace events in this patch?

Thanks,
Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20120917/c5b36eea/attachment.html>


More information about the litmus-dev mailing list