diff mbox

[.32-rc3] scheduler: iwlagn consistently high in "waiting for CPU"

Message ID 1255026217.6643.12.camel@marge.simson.net (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Mike Galbraith Oct. 8, 2009, 6:23 p.m. UTC
None
diff mbox

Patch

difference whatsoever for you.  Here, it definitely does. (shouldn't)

Index: linux-2.6/kernel/sched_fair.c
===================================================================
--- linux-2.6.orig/kernel/sched_fair.c
+++ linux-2.6/kernel/sched_fair.c
@@ -495,8 +495,10 @@  static void update_curr(struct cfs_rq *c
 	u64 now = rq_of(cfs_rq)->clock;
 	unsigned long delta_exec;
 
-	if (unlikely(!curr))
+	if (unlikely(!curr)) {
+		update_rq_clock(rq_of(cfs_rq));
 		return;
+	}
 
 	/*
 	 * Get the amount of time the current task was running