aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-04-21 12:11:53 +0200
committerIngo Molnar <mingo@kernel.org>2017-05-15 10:15:17 +0200
commitcf15ca8deda86b27b66e27848b4b0fe58098fc0b (patch)
tree9adb684132d9504daf6c9927d4cea67cea83c833 /kernel/time
parentx86/tsc: Feed refined TSC calibration into sched_clock() (diff)
downloadlinux-dev-cf15ca8deda86b27b66e27848b4b0fe58098fc0b.tar.xz
linux-dev-cf15ca8deda86b27b66e27848b4b0fe58098fc0b.zip
sched/clock: Initialize all per-CPU state before switching (back) to unstable
In preparation for not keeping the sched_clock_tick() active for stable TSC, we need to explicitly initialize all per-CPU state before switching back to unstable. Note: this patch looses the __gtod_offset calculation; it will be restored in the next one. 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/time')
0 files changed, 0 insertions, 0 deletions