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.
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?