LWN.net Logo

Deadline scheduling for Linux

Deadline scheduling for Linux

Posted Oct 13, 2009 22:37 UTC (Tue) by vieuxtech@gmail.com (guest, #54592)
In reply to: Deadline scheduling for Linux by nix
Parent article: Deadline scheduling for Linux

It's not clear why there needs to be a new syscall. sched_setscheduler() already exists, and it's struct sched_param argument can be extended to include parameters specific to particular scheduler policies.


(Log in to post comments)

Deadline scheduling for Linux

Posted Oct 14, 2009 10:26 UTC (Wed) by raistlin (guest, #37586) [Link]

Well, extending struct sched_param is more than possible, I agree, but it would be a _really_big_ ABI issue, don't you think?
Especially when a 'legacy' binary comes to, e.g., a sched_getparam, and the data it gets will be bigger than expected... :-(

Regards,
Dario

Deadline scheduling for Linux

Posted Oct 14, 2009 21:10 UTC (Wed) by quotemstr (subscriber, #45331) [Link]

but it would be a _really_big_ ABI issue, don't you think?
I was about to write about how that's not the case, but you're right: whose bright idea was it to have sched_getscheduler not take a length parameter like getpeername does?

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