]> err.no Git - linux-2.6/commitdiff
revert "sched: fix fair sleepers"
authorIngo Molnar <mingo@elte.hu>
Mon, 14 Apr 2008 06:50:02 +0000 (08:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Apr 2008 12:26:23 +0000 (14:26 +0200)
revert "sched: fix fair sleepers" (e22ecef1d2658ba54ed7d3fdb5d60829fb434c23),
because it is causing audio skipping, see:

   http://bugzilla.kernel.org/show_bug.cgi?id=10428

the patch is correct and the real cause of the skipping is not
understood (tracing makes it go away), but time has run out so we'll
revert it and re-try in 2.6.26.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c

index 86a93376282c2e43773dba5d6a11762e111a5eb6..0080968d3e4a88e883a7905f409e22013abc8d55 100644 (file)
@@ -510,10 +510,8 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
 
        if (!initial) {
                /* sleeps upto a single latency don't count. */
-               if (sched_feat(NEW_FAIR_SLEEPERS)) {
-                       vruntime -= calc_delta_fair(sysctl_sched_latency,
-                                                   &cfs_rq->load);
-               }
+               if (sched_feat(NEW_FAIR_SLEEPERS))
+                       vruntime -= sysctl_sched_latency;
 
                /* ensure we never gain time by being placed backwards. */
                vruntime = max_vruntime(se->vruntime, vruntime);