diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-09-01 10:44:23 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-05 12:14:08 -0400 |
commit | 56c7426b3951e4f35a71d695f1c982989399d6fd (patch) | |
tree | 26001a24308baceab1ff36eb8ab1ed43fb831a4f /include/linux/sched.h | |
parent | b380b0d4f7dffcc235c0facefa537d4655619101 (diff) |
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 <a.p.zijlstra@chello.nl>
Tested-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions