lkml.org 
[lkml]   [2010]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 02/22] sched: add extended scheduling interface
From
Date
On Wed, 2010-11-10 at 18:28 +0100, Peter Zijlstra wrote:
> On Fri, 2010-10-29 at 08:27 +0200, Raistlin wrote:
> > +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;
> > +};
>
> It would be better for alignment reasons to move the sched_flags field
> next to the sched_priority field.
>
> I would suggest we add at least one more field so we can implement the
> stochastic model from UNC, sched_runtime_dev or sched_runtime_var or
> somesuch.

Oh, and their model has something akin to: sched_runtime_max, these
Gaussian bell curves go to inf. which is kinda bad for trying to compute
bounds.




\
 
 \ /
  Last update: 2010-11-10 20:29    [W:0.356 / U:23.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site