Jarek Poplawski wrote:
On 16-10-2007 03:16, Peter Williams wrote:
...
I'd suggest that we modify sched_rr_get_interval() to return -EINVAL
(with *interval set to zero) if the target task is not SCHED_RR. That
way we can save a lot of unnecessary code. I'll work on a patch.
...
I like this i
On 16-10-2007 03:16, Peter Williams wrote:
...
>
> I'd suggest that we modify sched_rr_get_interval() to return -EINVAL
> (with *interval set to zero) if the target task is not SCHED_RR. That
> way we can save a lot of unnecessary code. I'll work on a patch.
...
I like this idea! But, since t
Jarek Poplawski wrote:
On 13-10-2007 03:29, Peter Williams wrote:
Jarek Poplawski wrote:
On 12-10-2007 00:23, Peter Williams wrote:
...
The reason I was going that route was for modularity (which helps
when adding plugsched patches). I'll submit a revised patch for
consideration.
...
IMHO,
On 13-10-2007 03:29, Peter Williams wrote:
> Jarek Poplawski wrote:
>> On 12-10-2007 00:23, Peter Williams wrote:
>> ...
>>> The reason I was going that route was for modularity (which helps
>>> when adding plugsched patches). I'll submit a revised patch for
>>> consideration.
>> ...
>>
>> IMHO,
Jarek Poplawski wrote:
On 12-10-2007 00:23, Peter Williams wrote:
...
The reason I was going that route was for modularity (which helps when
adding plugsched patches). I'll submit a revised patch for consideration.
...
IMHO, it looks like modularity could suck here:
+static unsigned int def
* Peter Williams <[EMAIL PROTECTED]> wrote:
> > I had also considered introducing smth like
> > sched_class::task_timeslice() but decided it was not worth it.
>
> The reason I was going that route was for modularity (which helps when
> adding plugsched patches). I'll submit a revised patch fo
On 12-10-2007 00:23, Peter Williams wrote:
...
> The reason I was going that route was for modularity (which helps when
> adding plugsched patches). I'll submit a revised patch for consideration.
...
IMHO, it looks like modularity could suck here:
> +static unsigned int default_timeslice_fair(s
Dmitry Adamushko wrote:
On 11/10/2007, Ingo Molnar <[EMAIL PROTECTED]> wrote:
* Peter Williams <[EMAIL PROTECTED]> wrote:
-#define MIN_TIMESLICEmax(5 * HZ / 1000, 1)
-#define DEF_TIMESLICE(100 * HZ / 1000)
hm, this got removed by Dmitry quite some time ago. Cou
On 11/10/2007, Ingo Molnar <[EMAIL PROTECTED]> wrote:
>
> * Peter Williams <[EMAIL PROTECTED]> wrote:
>
> > -#define MIN_TIMESLICEmax(5 * HZ / 1000, 1)
> > -#define DEF_TIMESLICE(100 * HZ / 1000)
>
> hm, this got removed by Dmitry quite some time ago. Could you pleas
* Peter Williams <[EMAIL PROTECTED]> wrote:
> -#define MIN_TIMESLICEmax(5 * HZ / 1000, 1)
> -#define DEF_TIMESLICE(100 * HZ / 1000)
hm, this got removed by Dmitry quite some time ago. Could you please do
this patch against the sched-devel git tree:
git://git.ke
At the moment, static_prio_timeslice() is only used in
sys_sched_rr_get_interval() and only gives the correct result for
SCHED_FIFO and SCHED_RR tasks as the time slice for normal tasks is
unrelated to the values returned by static_prio_timeslice().
This patch addresses this problem and in the
11 matches
Mail list logo