diff options
author | Peter Zijlstra <peterz@infradead.org> | 2017-04-21 12:11:53 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-05-15 10:15:17 +0200 |
commit | cf15ca8deda86b27b66e27848b4b0fe58098fc0b (patch) | |
tree | 9adb684132d9504daf6c9927d4cea67cea83c833 /mm/nobootmem.c | |
parent | aa7b630ea023d2d70b34af18cea92f31429c1db0 (diff) | |
download | linux-cf15ca8deda86b27b66e27848b4b0fe58098fc0b.tar.bz2 |
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 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions