Re: [patch] CFS (Completely Fair Scheduler), v2

From: Ingo Molnar
Date: Tue Apr 17 2007 - 03:02:45 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> ok - fortunately the delta between -v2-rc0 and -v2-final is pretty
> small. One difference is the child-runs-first fix. To restore the
> parent-runs-first logic, do this:
>
> echo 0 > /proc/sys/kernel/sched_child_runs_first
>
> does this make any difference?

ok, i've got something better to test: i separated the delta out into a
more finegrained stack of 3 patches. You can pick them up from:

http://redhat.com/~mingo/cfs-scheduler/older/sched-cfs-v2-rc0.patch
http://redhat.com/~mingo/cfs-scheduler/older/sched-cfs-v2-rc0-preempt-fix.patch
http://redhat.com/~mingo/cfs-scheduler/older/sched-cfs-v2-rc0-child-runs-first.patch
http://redhat.com/~mingo/cfs-scheduler/older/sched-cfs-v2-rc0-misc.patch

i test-built and test-booted all 4 steps of this. The baseline -v2-rc0
patch should be the one that works - you might want to double-check it,
just to be sure. One of the other 3 patches ontop of this baseline
causes the regression on your desktop. My current bet is on preempt-fix,
so i have put that one first. The other one would be the second patch,
child-runs-first. The misc patch should have no effect on behavior - but
i've included it for completeness. (and i was wrong about the 'nice
fix', it is not in this delta)

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/