From: Peter Zijlstra Date: Mon, 1 Sep 2008 14:44:23 +0000 (+0200) Subject: sched_clock: fix NOHZ interaction X-Git-Tag: v2.6.27-rc6~32^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c7426b3951e4f35a71d695f1c982989399d6fd;p=pandora-kernel.git sched_clock: fix NOHZ interaction If HLT stops the TSC, we'll fail to account idle time, thereby inflating the actual process times. Fix this by re-calibrating the clock against GTOD when leaving nohz mode. Signed-off-by: Peter Zijlstra Tested-by: Avi Kivity Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed