diff options
author | 2017-05-05 09:55:01 +0200 | |
---|---|---|
committer | 2017-05-15 10:15:16 +0200 | |
commit | 615cd03373a02a17b82b253ff5e02e3a83b224f8 (patch) | |
tree | 1188df49f87e3051e368a373609d2bc5e9e2bd7a /kernel | |
parent | x86/tsc: Remodel cyc2ns to use seqcount_latch() (diff) | |
download | wireguard-linux-615cd03373a02a17b82b253ff5e02e3a83b224f8.tar.xz wireguard-linux-615cd03373a02a17b82b253ff5e02e3a83b224f8.zip |
x86/tsc: Fix sched_clock() sync
While looking through the code I noticed that we initialize the cyc2ns
fields with a different cycle value for each CPU, resulting in a
slightly different 0 point for each CPU.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions