Messages in this thread | | | Date | Fri, 12 Oct 2007 08:23:51 +1000 | From | Peter Williams <> | Subject | Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval() |
| |
Dmitry Adamushko wrote: > On 11/10/2007, Ingo Molnar <mingo@elte.hu> wrote: >> * Peter Williams <pwil3058@bigpond.net.au> 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@bigpond.net.au
"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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |