Re: [PATCH 2/6] sched: make sched_slice() group scheduling savvy

Peter Zijlstra
2007-11-01T12:03:30Z

On Thu, 2007-11-01 at 12:58 +0100, Peter Zijlstra wrote:

> > sched_slice() is about lantecy, its intended purpose is to ensure each
> > task is ran exactly once during sched_period() - which is
> > sysctl_sched_latency when nr_running <= sysctl_sched_nr_latency, and
> > otherwise linearly scales latency.

The thing that got my brain in a twist is what to do about the non-leaf
nodes, for those it seems I'm not doing the right thing - I think.