Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval()

From: Dmitry Adamushko
Date: Thu Oct 11 2007 - 03:44:40 EST


On 11/10/2007, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Peter Williams <pwil3058@xxxxxxxxxxxxxx> wrote:
>
> > -#define MIN_TIMESLICE max(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:

here is the commit:
http://git.kernel.org/?p=linux/kernel/git/mingo/linux-2.6-sched-devel.git;a=commit;h=dd3fec36addd1bf76b05225b7e483378b80c3f9e

I had also considered introducing smth like
sched_class::task_timeslice() but decided it was not worth it.


--
Best regards,
Dmitry Adamushko
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/