Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval()

From: Ingo Molnar
Date: Fri Oct 12 2007 - 02:59:53 EST



* Peter Williams <pwil3058@xxxxxxxxxxxxxx> 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 for
> consideration.

no strong feelings - since this isnt a performance-sensitive codepath we
could certainly abstract it a bit more if it's convenient for
hackability. Depends on how the patch looks like and how much code
increase there is - but i'd not expect it to be anything controversial.

Ingo
-
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/