aboutsummaryrefslogtreecommitdiff
path: root/kernel/softirq.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-07-09 00:15:31 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-11 15:53:27 +0200
commitc0c87734f125d2fa8ebc70310f3257fa6209f2b6 (patch)
treec94f9f6c1e8dcc68c2a30caaff64db7e81a65510 /kernel/softirq.c
parent2b8a0cf4890d7537a77b51caa8f508e4a05a0e67 (diff)
sched_clock: only update deltas with local reads.
Reading the CPU clock should try to stay accurate within the CPU. By reading the CPU clock from another CPU and updating the deltas can cause unneeded jumps when reading from the local CPU. This patch changes the code to update the last read TSC only when read from the local CPU. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Cc: Steven Rostedt <srostedt@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions