From: Mike Galbraith Date: Fri, 9 Oct 2009 06:35:03 +0000 (+0200) Subject: sched: Update the clock of runqueue select_task_rq() selected X-Git-Tag: v2.6.32-rc5~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5dc37530ba8a35aae0f7f4f13781d1904f71e94;p=pandora-kernel.git sched: Update the clock of runqueue select_task_rq() selected In try_to_wake_up(), we update the runqueue clock, but select_task_rq() may select a different runqueue than the one we updated, leaving the new runqueue's clock stale for a bit. This patch cures occasional huge latencies reported by latencytop when coming out of idle on a mostly idle NO_HZ box. Signed-off-by: Mike Galbraith Signed-off-by: Peter Zijlstra LKML-Reference: <1255070103.7639.30.camel@marge.simson.net> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed