From: Mike Galbraith Date: Fri, 29 Apr 2011 06:36:50 +0000 (+0200) Subject: sched, rt: Update rq clock when unthrottling of an otherwise idle CPU X-Git-Tag: v3.0-rc1~403^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61eadef6a9bde9ea62fda724a9cb501ce9bc925a;p=pandora-kernel.git sched, rt: Update rq clock when unthrottling of an otherwise idle CPU If an RT task is awakened while it's rt_rq is throttled, the time between wakeup/enqueue and unthrottle/selection may be accounted as rt_time if the CPU is idle. Set rq->skip_clock_update negative upon throttle release to tell put_prev_task() that we need a clock update. Reported-by: Thomas Giesel Signed-off-by: Mike Galbraith Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1304059010.7472.1.camel@marge.simson.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed