Re: [RFC][PATCH 02/22] sched: add extended scheduling interface
From: Raistlin
Date: Wed Nov 10 2010 - 17:45:52 EST
On Wed, 2010-11-10 at 17:12 +0100, Dhaval Giani wrote:
> >> + * @curr_runtime task's currently available runtime
> >> + * @used_runtime task's totally used runtime
> >> + * @curr_deadline task's current absolute deadline
> >> + *
> >> + * Given this task model, there are a multiplicity of scheduling algorithms
> >> + * and policies, that can be used to ensure all the tasks will make their
> >> + * timing constraints.
> >> + */
> >> +struct sched_param_ex {
> >> + int sched_priority;
> >> + struct timespec sched_runtime;
> >> + struct timespec sched_deadline;
> >> + struct timespec sched_period;
> >> + unsigned int sched_flags;
> >> +
> >> + struct timespec curr_runtime;
> >> + struct timespec used_runtime;
> >> + struct timespec curr_deadline;
>
> Can we expose soem of these details via schedstats as opposed to a syscall?
>
Actually, good point... schedstats seems very reasonable to me... What
do the others think?
Thanks,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa (Italy)
http://blog.linux.it/raistlin / raistlin@xxxxxxxxx /
dario.faggioli@xxxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part