Re: [RFC 1/12][PATCH] Extended scheduling parameters structureadded.

From: Raistlin
Date: Wed Jan 13 2010 - 05:36:53 EST


On Tue, 2009-12-29 at 13:15 +0100, Peter Zijlstra wrote:
> On Fri, 2009-10-16 at 17:38 +0200, Raistlin wrote:
>
> > include/linux/sched.h | 8 ++++++++
> > 1 files changed, 8 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/linux/sched.h b/include/linux/sched.h
> > index 75e6e60..ac9837c 100644
> > --- a/include/linux/sched.h
> > +++ b/include/linux/sched.h
> > @@ -94,6 +94,14 @@ struct sched_param {
> >
> > #include <asm/processor.h>
> >
> > +struct sched_param_ex {
> > + int sched_priority;
> > + struct timespec sched_runtime;
> > + struct timespec sched_deadline;
> > + struct timespec sched_period;
> > + int sched_flags;
> > +};
> > +
> > struct exec_domain;
> > struct futex_pi_state;
> > struct robust_list_head;
>
> Why separate this change from the introduction of the new system calls?
>
Nothing particular... I was just thinking that the extended data
structure might have sense even for other --more general-- purposes. But
I can merge the two if it sounds better.

Thanks and regards,
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