Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval()

From: Peter Williams
Date: Thu Oct 11 2007 - 18:24:29 EST


Dmitry Adamushko wrote:
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.

The reason I was going that route was for modularity (which helps when adding plugsched patches). I'll submit a revised patch for consideration.

Peter
--
Peter Williams pwil3058@xxxxxxxxxxxxxx

"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
-
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/