User: Password:
|
|
Subscribe / Log in / New account

Adding periods to SCHED_DEADLINE

Adding periods to SCHED_DEADLINE

Posted Jul 23, 2010 10:23 UTC (Fri) by michaeljt (subscriber, #39183)
Parent article: Adding periods to SCHED_DEADLINE

If the granularity of the periods is not too high (millisecond should be alright) then a brute force check - running through a few seconds of all the real-time tasks on the system with the hypothetical newly scheduled task - might do the trick. I could also imagine the task wanting to be scheduled giving an deadline for when it needed a definite answer as to whether or not it was possible, and the kernel successively trying increasingly "tight" methods in that time, accounting the time to the task, to try and schedule it. Bearing in mind of course that the checks might need to be restarted if something else was successfully scheduled - or descheduled - in that time.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds