diff options
author | Steven Rostedt <[email protected]> | 2008-07-09 00:15:31 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2008-07-11 15:53:27 +0200 |
commit | c0c87734f125d2fa8ebc70310f3257fa6209f2b6 (patch) | |
tree | c94f9f6c1e8dcc68c2a30caaff64db7e81a65510 /net/unix/sysctl_net_unix.c | |
parent | 2b8a0cf4890d7537a77b51caa8f508e4a05a0e67 (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 <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: john stultz <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions