aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2008-07-09 00:15:31 -0400
committerIngo Molnar <[email protected]>2008-07-11 15:53:27 +0200
commitc0c87734f125d2fa8ebc70310f3257fa6209f2b6 (patch)
treec94f9f6c1e8dcc68c2a30caaff64db7e81a65510 /net/unix/sysctl_net_unix.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 <[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